The cipher-aes package
Fast AES cipher implementation with advanced mode of operations.
The modes of operations available are ECB (Electronic code book), CBC (Cipher block chaining), CTR (Counter), XTS (XEX with ciphertext stealing), GCM (Galois Counter Mode).
The AES implementation uses AES-NI when available (on x86 and x86-64 architecture), but fallback gracefully to a software C implementation.
The software implementation uses S-Boxes, which might suffer for cache timing issues. However do notes that most other known software implementations, including very popular one (openssl, gnutls) also uses same implementation. If it matters for your case, you should make sure you have AES-NI available, or you'll need to use a different implementation.
|Versions||0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8|
|Dependencies||base (4.*), bytestring|
|Copyright||Vincent Hanquez <email@example.com>|
|Author||Vincent Hanquez <firstname.lastname@example.org>|
|Maintainer||Vincent Hanquez <email@example.com>|
|Source repository||git clone git://github.com/vincenthz/hs-cipher-aes|
|Upload date||Sun Sep 16 06:35:44 UTC 2012|
|Distributions||NixOS: 0.1.8, Debian: 0.1.8, FreeBSD: 0.1.7|