crypto-pubkey-0.2.8: Public Key cryptography

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

Crypto.PubKey.HashDescr

Contents

Description

Standard digests wrapped in ASN1 structure

Synopsis

Types

type HashFunction = ByteString -> ByteString #

A standard hash function returning a digest object

data HashDescr #

Describe a hash function and a way to wrap the digest into an DER encoded ASN1 marshalled structure.

Constructors

HashDescr 

Fields

List of known hash description

hashDescrMD2 :: HashDescr #

Describe the MD2 hashing algorithm

hashDescrMD5 :: HashDescr #

Describe the MD5 hashing algorithm

hashDescrSHA1 :: HashDescr #

Describe the SHA1 hashing algorithm

hashDescrSHA224 :: HashDescr #

Describe the SHA224 hashing algorithm

hashDescrSHA256 :: HashDescr #

Describe the SHA256 hashing algorithm

hashDescrSHA384 :: HashDescr #

Describe the SHA384 hashing algorithm

hashDescrSHA512 :: HashDescr #

Describe the SHA512 hashing algorithm

hashDescrRIPEMD160 :: HashDescr #

Describe the RIPEMD160 hashing algorithm