cryptohash-0.7.4: collection of crypto hashes, fast, pure and practical

Portabilityunknown
Stabilityexperimental
MaintainerVincent Hanquez <vincent@snarc.org>

Crypto.Hash.SHA224

Contents

Description

A module containing SHA224 bindings

Synopsis

Documentation

data Ctx

Constructors

Ctx !ByteString 

Instances

data SHA224

Instances

Incremental hashing Functions

init :: Ctx

init a context

update :: Ctx -> ByteString -> Ctx

update a context with a bytestring

finalize :: Ctx -> ByteString

finalize the context into a digest bytestring

Single Pass hashing

hash :: ByteString -> ByteString

hash a strict bytestring into a digest bytestring

hashlazy :: ByteString -> ByteString

hash a lazy bytestring into a digest bytestring