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

Portabilityunknown
Stabilityexperimental
MaintainerVincent Hanquez <vincent@snarc.org>
Safe HaskellTrustworthy

Crypto.Hash.SHA512t

Contents

Description

A module containing SHA512/t

Synopsis

Documentation

data Ctx Source

Constructors

Ctx !Int !Ctx 

Incremental hashing Functions

init :: Int -> 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 :: Int -> ByteString -> ByteStringSource

hash a strict bytestring into a digest bytestring

hashlazy :: Int -> ByteString -> ByteStringSource

hash a lazy bytestring into a digest bytestring