@hackage / Crypto

Common Cryptographic Algorithms in Pure Haskell

Latest4.2.5.2

About

Metadata

  • Last updated , by HerbertValerioRiedel
  • License BSD-3-Clause AND GPL-2.0-or-later
  • Categories Cryptography
  • Maintained by: hvr@gnu.org

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 9.4.4
  2. 9.2.2
  3. 9.0.2
  4. 8.10.4
  5. 8.8.4
  6. 8.6.5
  7. 8.4.4
  8. 8.2.2
  9. 8.0.2
  10. 7.10.3

Readme

This packages provides many of the commonly used cryptographic algorithms, such as

  • DES

  • Blowfish

  • AES

  • TEA

  • SHA-1

  • SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512)

  • MD5

  • RSA

  • PKCS#5 Padding

  • HMAC

  • Ciper Block Chaining (CBC) mode

Moreover, this package also provides an implementation of the Bubble Babble Binary Data Encoding specification and miscellaneous utilties.

The library in this package is implemented in pure Haskell2010 (plus currently the FlexibleInstances and TypeSynonymInstances extensions) and thus should be fairly portable. However, it shouldn't be expected to be the most performant possible Haskell cryptographic library; for instance, for optimized implementations of Hash algorithms, see the cryptohash-* family.