serokell / haskell-crypto

Haskell cryptography done right
https://hackage.haskell.org/package/crypto-sodium
15 stars 6 forks source link

Implement generic hashing (Blake2b) #30

Closed kirelagin closed 2 years ago

kirelagin commented 2 years ago

In addition to NaCl’s SHA-2 based hash functions (crypto_hash), Sodium provides Blake2b as crypto_generichash.

Expose it as Crypto.Hash.blake2b (only the non-streaming version for now).

kirelagin commented 2 years ago

(Tangentially related: #29.)