cryptohash-0.5: collection of crypto hashes, fast, pure and pratical

Portabilityunknown
Stabilityexperimental
MaintainerVincent Hanquez <vincent@snarc.org>

Data.CryptoHash.MD5

Contents

Description

A module containing MD5 bindings

Synopsis

Documentation

data Ctx Source

Constructors

Ctx ByteString 

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