- data MD5Context
- md5InitialContext :: MD5Context
- blockSize :: Int
- md5 :: ByteString -> MD5Context
- md5Update :: MD5Context -> ByteString -> MD5Context
- md5Finalize :: MD5Context -> MD5Context
Types
data MD5Context Source
The type for intermediate and final results.
Static data
md5InitialContext :: MD5ContextSource
The initial context to use when calling md5Update for the first time
Functions
md5 :: ByteString -> MD5ContextSource
Processes a lazy ByteString and returns the md5 digest
md5Update :: MD5Context -> ByteString -> MD5ContextSource
Alters the MD5Context with a partial digest of the data.
md5Finalize :: MD5Context -> MD5ContextSource
Closes an MD5 context. While it is typesafe to reupdate a finalized context the result would not be a valid MD5 hash of your data.