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

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

Crypto.Hash.Skein512

Contents

Description

A module containing Skein512 bindings

Synopsis

Documentation

newtype Ctx Source

Constructors

Ctx ByteString 

Instances

data Skein512 Source

Deprecated: Future cryptohash versions will not export crypto-api hash instances here.you can either : - carry using cryptoapi types and definitions by using the cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI instead of Crypto.Hash.Skein512. - use cryptohash's centralized API by importing Crypto.Hash

Incremental hashing Functions

init :: Int -> CtxSource

init a context

update :: Ctx -> ByteString -> CtxSource

update a context with a bytestring

updates :: Ctx -> [ByteString] -> CtxSource

updates a context with multiples 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