Hash algorithm interface
provides classic init/update/final API. however, user should call higher level API such as hash or hashLazy.
Methods
hashBlockSize :: a -> InthashDigestSize :: a -> InthashInit :: Context ahashUpdate :: Context a -> ByteString -> Context ahashFinal :: Context a -> a
Instances7HashAlgorithm, …
HashAlgorithm MD5Defined in hashing-0.1.1.0 · Crypto.Hash.MD5HashAlgorithm SHA1Defined in hashing-0.1.1.0 · Crypto.Hash.SHA1HashAlgorithm SHA224Defined in hashing-0.1.1.0 · Crypto.Hash.SHA256HashAlgorithm SHA256Defined in hashing-0.1.1.0 · Crypto.Hash.SHA256HashAlgorithm SHA384Defined in hashing-0.1.1.0 · Crypto.Hash.SHA512HashAlgorithm SHA512Defined in hashing-0.1.1.0 · Crypto.Hash.SHA512HashAlgorithm WhirlpoolDefined in hashing-0.1.1.0 · Crypto.Hash.Whirlpool