tel / saltine

Cryptography that's easy to digest (NaCl/libsodium bindings)
https://github.com/tel/saltine
MIT License
61 stars 29 forks source link

Hashable instances for key types #51

Closed shlevy closed 3 years ago

shlevy commented 5 years ago

Would be nice to be able to include public keys (and data structures containing them) in HashSets.

Or at least have an Internal module exporting the *Key constructors so that can be done by the user.

linearray commented 3 years ago

I think all relevant types do have Hashable instances?

They have been added here: https://github.com/tel/saltine/pull/49/files

shlevy commented 3 years ago

Unfortunately I don't remember the specifics here. Perhaps that PR wasn't in a release yet?