Codec.Encryption.AES

| Crypto-3.0.3: DES, Blowfish, AES, SHA1, MD5, RSA, X.509 Identity and Attribute Certificates, General ASN.1 Support, Base64, PKCS8, PKCS1v15, Hexdump, Support for Word128, Word192 and Word256 and Beyond, PKCS5 Padding, Various Encryption Modes e.g. Cipher Block Chaining all in one package. | Contents | Index
Codec.Encryption.AES |
Portability | portable
Stability | experimental
Maintainer | dominic.steinitz@blueyonder.co.uk
Contents
Function Types
Description
Takes the AES module supplied by Lukasz Anforowicz and wraps it so it can used with the standard modes.
Synopsis
encrypt :: AESKey a => a -> Word128 -> Word128
decrypt :: AESKey a => a -> Word128 -> Word128
Function Types
encrypt :: AESKey a => a -> Word128 -> Word128
Basic AES encryption which takes a key and a block of plaintext and returns the encrypted block of ciphertext according to the standard.
decrypt :: AESKey a => a -> Word128 -> Word128
Basic AES decryption which takes a key and a block of ciphertext and returns the decrypted block of plaintext according to the standard.
Produced by Haddock version 0.8