| Copyright | (c) 2010 by Peter Simons |
|---|---|
| License | BSD3 |
| Maintainer | simons@cryp.to |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell98 |
OpenSSL.Digest.ByteString.Lazy
Description
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 Int Source
Update the internal state with a block of data.