cryptohash-0.7.4: collection of crypto hashes, fast, pure and practicalSource codeContentsIndex
Crypto.Hash.Skein512
Portabilityunknown
Stabilityexperimental
MaintainerVincent Hanquez <vincent@snarc.org>
Contents
Incremental hashing Functions
Single Pass hashing
Description
A module containing Skein512 bindings
Synopsis
data Ctx = Ctx !ByteString
data Skein512
init :: Int -> Ctx
update :: Ctx -> ByteString -> Ctx
finalize :: Ctx -> ByteString
hash :: Int -> ByteString -> ByteString
hashlazy :: Int -> ByteString -> ByteString
Documentation
data Ctx Source
Constructors
Ctx !ByteString
show/hide Instances
data Skein512 Source
show/hide Instances
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
Produced by Haddock version 2.6.1