License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | experimental |
Portability | Good |
Safe Haskell | None |
Language | Haskell98 |
Standard digests wrapped in ASN1 structure
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.
HashDescr | |
|
List of known hash description
Describe the MD2 hashing algorithm
Describe the MD5 hashing algorithm
Describe the SHA1 hashing algorithm
Describe the SHA224 hashing algorithm
Describe the SHA256 hashing algorithm
Describe the SHA384 hashing algorithm
Describe the SHA512 hashing algorithm
hashDescrRIPEMD160 :: HashDescr
Describe the RIPEMD160 hashing algorithm