Crypto-4.1.0: DES, Blowfish, AES, TEA, SHA1, MD5, RSA, BubbleBabble, Hexdump, Support for Word128, Word192 and Word256 and Beyond, PKCS5 Padding, Various Encryption Modes e.g. Cipher Block Chaining all in one package.




Takes the SHA2 module supplied and wraps it so it takes [Octet] and returns [Octet] where the length of the result is always 32. and


Function Types

hash :: [Octet] -> [Octet]Source

Take [Octet] and return [Octet] according to the standard. The length of the result is always 32 octets or 256 bits as required by the standard.