Digest is an opaque object that represents an algorithm of
message digest.
ModuleHsOpenSSL-0.11.7.10Haskell2010
OpenSSL.EVP.Digest
An interface to message digest algorithms.
- 1 type
- 8 values
- PackageHsOpenSSL-0.11.7.10
- Exports9
- LanguageHaskell2010
- LicenceLicenseRef-PublicDomain
- SourceDigest.hsc
getDigestByName name returns a message digest algorithm whose
name is name. If no algorithms are found, the result is
Nothing.
getDigestNames returns a list of name of message digest
algorithms.
Deprecated. Use digestBS or digestLBS instead.
digest digests a stream of data. The string must
not contain any letters which aren't in the range of U+0000 -
U+00FF.
digestBS digests a chunk of data.
digestLBS digests a stream of data.
hmacBS :: Digestthe hash function to use in the HMAC calculation
-> ByteStringthe HMAC key
-> ByteStringthe data to be signed
-> ByteStringresulting HMAC
Perform a private key signing using the HMAC template with a given hash
pkcs5_pbkdf2_hmac_sha1 :: ByteStringpassword
-> ByteStringsalt
-> Intiterations
-> Intdestination key length
-> ByteStringdestination key
Calculate a PKCS5-PBKDF2 SHA1-HMAC suitable for password hashing.