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

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
Portabilityunknown
Safe HaskellTrustworthy
LanguageHaskell98

Crypto.Hash.Types

Contents

Description

Crypto hash types definitions

Synopsis

Documentation

newtype Context a

Represent a context for a given hash algorithm.

Constructors

Context (Context a) 

Instances

newtype Digest a

Represent a digest for a given hash algorithm.

Constructors

Digest (Digest a) 

Instances

Eq (Digest a) 
Ord (Digest a) 
Show (Digest a) 
Byteable (Digest a) 

deprecated

digestToByteString :: Digest a -> ByteString

Deprecated: use toBytes from byteable:Data.Byteable

return the binary bytestring. deprecated use toBytes.