cryptonite-0.1: Cryptography Primitives sink

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
PortabilityGood
Safe HaskellNone
LanguageHaskell2010

Crypto.PubKey.HashDescr

Contents

Description

Standard digests wrapped in ASN1 structure

Synopsis

Types

data HashDescr hashAlg ba Source

A hash methods to generate a ASN.1 structure digest

runHashDescr :: (HashAlgorithm hashAlg, ByteArray ba) => HashDescr hashAlg ba -> ba -> ba Source

Run the digest function on some input and get the raw bytes

List of known hash description

hashDescrMD2 :: ByteArray ba => HashDescr MD2 ba Source

Describe the MD2 hashing algorithm

hashDescrMD5 :: ByteArray ba => HashDescr MD5 ba Source

Describe the MD5 hashing algorithm

hashDescrSHA1 :: ByteArray ba => HashDescr SHA1 ba Source

Describe the SHA1 hashing algorithm

hashDescrSHA224 :: ByteArray ba => HashDescr SHA224 ba Source

Describe the SHA224 hashing algorithm

hashDescrSHA256 :: ByteArray ba => HashDescr SHA256 ba Source

Describe the SHA256 hashing algorithm

hashDescrSHA384 :: ByteArray ba => HashDescr SHA384 ba Source

Describe the SHA384 hashing algorithm

hashDescrSHA512 :: ByteArray ba => HashDescr SHA512 ba Source

Describe the SHA512 hashing algorithm

hashDescrRIPEMD160 :: ByteArray ba => HashDescr RIPEMD160 ba Source

Describe the RIPEMD160 hashing algorithm