Define some cryptographic functions in sel as pure#189
Define some cryptographic functions in sel as pure#189Kleidukos merged 11 commits intohaskell-cryptography:mainfrom
sel as pure#189Conversation
|
@intricate I'll merge when CI is green, good job! |
| -- Note that, if @libsodium@ is compiled with the @ED25519_NONDETERMINISTIC@ | ||
| -- macro defined, this function will produce non-deterministic (but also | ||
| -- non-standard) Ed25519 signatures. If @libsodium@ hasn't been compiled with | ||
| -- the @ED25519_NONDETERMINISTIC@ macro defined, it's safe to call this | ||
| -- function in a pure context with 'unsafeDupablePerformIO'. | ||
| -- | ||
| -- For more information, see the | ||
| -- [@libsodium@ docs](https://doc.libsodium.org/public-key_cryptography/public-key_signatures#notes). | ||
| -- |
There was a problem hiding this comment.
@Kleidukos: how do you feel about this comment?
|
Deleted my previous comment to avoid muddying the waters with a non-issue that I brought up 😁 Outside of As we know, |
|
@intricate Thank you very much for you recent contributions. I believe this was the last PR needed to release a new major version of |
Closes #187
Defines the following functions as pure:
Sel.Hashing.hashByteStringSel.Hashing.SHA256.hashByteStringSel.Hashing.SHA512.hashByteStringSel.Hashing.Short.hashByteStringSel.Hashing.Password.hashByteStringWithParamsSel.HMAC.SHA256.authenticateSel.HMAC.SHA512.authenticateSel.HMAC.SHA512_256.authenticateSel.SecretKey.Authentication.authenticate