Crypto: Common Cryptographic Algorithms in Pure Haskell

[ codec, cryptography, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 3.0.3, 4.1.0, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.2.5, 4.2.5.1, 4.2.5.2
Change log ChangeLog.md
Dependencies array (>=0.3.0 && <0.4 || >=0.4.0 && <0.5 || >=0.5.0 && <0.6), base (>=4.3 && <4.18), pretty (>=1.0.1 && <1.1 || >=1.1.0 && <1.2), random (>=1.0 && <1.3) [details]
Tested with ghc ==7.0.1, ghc ==7.0.4, ghc ==7.2.2, ghc ==7.4.2, ghc ==7.6.3, ghc ==7.8.4, ghc ==7.10.3, ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.4, ghc ==8.10.4, ghc ==9.0.2, ghc ==9.2.2, ghc ==9.4.4
License BSD-3-Clause AND GPL-2.0-or-later
Copyright © 2003-2007 Dominic Steinitz et al.
Author Dominic Steinitz
Maintainer hvr@gnu.org
Category Cryptography, Codec
Uploaded by HerbertValerioRiedel at 2023-02-12T09:16:22Z
Distributions FreeBSD:4.2.5.1
Reverse Dependencies 33 direct, 3629 indirect [details]
Downloads 20929 total (74 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-02-12 [all 1 reports]