@hackage / cipher-aes128

AES and common modes using AES-NI when available.

Latest0.7.0.6

About

Metadata

  • Last updated , by ThomasDuBuisson
  • License BSD-3-Clause
  • Categories Cryptography
  • Maintained by: thomas.dubuisson@gmail.com

  • Lottery factor: 0

Links

Installation

This package uses the Custom cabal build type

Tested Compilers

  1. 9.0.1
  2. 8.10.4
  3. 8.6.2
  4. 8.4.4
  5. 8.2.2
  6. 8.0.2
  7. 7.10.3

Package Flags

Use the -f option with cabal commands to enable flags

    test (off by default)

    Build a program to test the AES implementation

Readme

Cipher-aes128 is an implementation of AES and common modes of operation. It borrows Hanquez's C AES code (see 'cipher-aes') but is unique due to including compile-time detection of NI compiler support, a slightly more functional interface for GCM operations, exposure of Ptr based operations via the .Internal module, and build-in crypto-api support. Cipher-aes128 was originally developed as "'cipher-aes' plus trampolines", which has since been adopted into cipher-aes.