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

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

Crypto.Hash.MD4

Contents

Description

A module containing MD4 bindings

Synopsis

Documentation

data MD4 #

Instances

Eq MD4 # 

Methods

(==) :: MD4 -> MD4 -> Bool #

(/=) :: MD4 -> MD4 -> Bool #

Ord MD4 # 

Methods

compare :: MD4 -> MD4 -> Ordering #

(<) :: MD4 -> MD4 -> Bool #

(<=) :: MD4 -> MD4 -> Bool #

(>) :: MD4 -> MD4 -> Bool #

(>=) :: MD4 -> MD4 -> Bool #

max :: MD4 -> MD4 -> MD4 #

min :: MD4 -> MD4 -> MD4 #

Show MD4 # 

Methods

showsPrec :: Int -> MD4 -> ShowS #

show :: MD4 -> String #

showList :: [MD4] -> ShowS #

Serialize MD4 # 

Methods

put :: Putter MD4 #

get :: Get MD4 #

Hash Ctx MD4 # 

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