Remove the Hash sort in to_hash. It collides with some Ruby interpreters and is not strictly needed.
Remove the Hash sort in to_hash. It collides with some Ruby interpreters and is not strictly needed.

grempe/secretsharing