Portability | portable |
---|---|
Stability | provisional |
Maintainer | simons@cryp.to |
Wrappers for OpenSSL.Digest that supports lazy ByteString
.
- digest :: MessageDigest -> ByteString -> IO [Word8]
- update :: ByteString -> Digest Int
Documentation
digest :: MessageDigest -> ByteString -> IO [Word8]Source
A convenience wrapper which computes the given digest type of a
ByteString
. Unlike the monadic interface, this function does not
allow the computation to be restarted.
update :: ByteString -> Digest IntSource
Update the internal state with a block of data.