Copyright | (c) Dominic Steinitz 2004 |
---|---|
License | BSD-style (see the file ReadMe.tex) |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Takes the AES module supplied by Lukasz Anforowicz and wraps it so it can used with the standard modes.
Function Types
encrypt :: AESKey a => a -> Word128 -> Word128 Source #
Basic AES encryption which takes a key and a block of plaintext and returns the encrypted block of ciphertext according to the standard.