cryptohash-0.7.4: collection of crypto hashes, fast, pure and practicalSource codeContentsIndex
Crypto.Hash.MD5
Portabilityunknown
Stabilityexperimental
MaintainerVincent Hanquez <vincent@snarc.org>
Contents
Incremental hashing Functions
Single Pass hashing
Description
A module containing MD5 bindings
Synopsis
data Ctx = Ctx !ByteString
data MD5
init :: Ctx
update :: Ctx -> ByteString -> Ctx
finalize :: Ctx -> ByteString
hash :: ByteString -> ByteString
hashlazy :: ByteString -> ByteString
Documentation
data Ctx Source
Constructors
Ctx !ByteString
show/hide Instances
data MD5 Source
show/hide Instances
Incremental hashing Functions
init :: CtxSource
init a context
update :: Ctx -> ByteString -> CtxSource
update a context with a bytestring
finalize :: Ctx -> ByteStringSource
finalize the context into a digest bytestring
Single Pass hashing
hash :: ByteString -> ByteStringSource
hash a strict bytestring into a digest bytestring
hashlazy :: ByteString -> ByteStringSource
hash a lazy bytestring into a digest bytestring
Produced by Haddock version 2.6.1