SHA2-0.0.1: Fast, incremental SHA hashing for bytestringsSource codeContentsIndex
Codec.Digest.SHA
Description
A pure interface to SHA
Synopsis
data Length
= SHA256
| SHA384
| SHA512
hash :: Length -> ByteString -> ByteString
hash' :: Length -> ByteString -> ByteString
showBSasHex :: ByteString -> String
Documentation
data Length Source
Constructors
SHA256
SHA384
SHA512
hash :: Length -> ByteString -> ByteStringSource
Hashing lazy bytestrings
hash' :: Length -> ByteString -> ByteStringSource
Hashing strict bytestrings
showBSasHex :: ByteString -> StringSource
Converts a ByteString to hexadeximal string format
Produced by Haddock version 2.6.0