eccrypto: Elliptic Curve Cryptography for Haskell

[ bsd3, cryptography, library ] [ Propose Tags ]

Elliptic Curve Cryptography in Haskell, evolved for correctness and practical usability from higher-level libraries.

The implementation is pure Haskell and as generic and fast as reasonably possible. Timing-attack resistance is important, failure must be documented.

This library was formerly known and its code originated as hecc, but since this would imply Hyperelliptic ECC, the name was changed.

Also the scope was changed by selecting best internal formats and no longer trying to be overly general, allowing more optimizations.

[Skip to Readme]
Versions [faq] 0.0, 0.0.1, 0.1.0, 0.2.0, 0.2.1, 0.2.2
Dependencies base (==4.*), bytestring (==0.10.*), crypto-api (==0.13.*), cryptohash-sha512 (==0.11.*), integer-gmp (==1.0.*) [details]
License BSD-3-Clause
Copyright (c) Marcel Fourné, 2009-2019
Author Marcel Fourné
Maintainer Marcel Fourné (
Category Cryptography
Source repo head: git clone
Uploaded by MarcelFourne at 2020-03-23T15:35:10Z
Distributions NixOS:0.2.2
Downloads 2425 total (9 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-03-23 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for eccrypto-0.2.2

[back to package description]
RSA just doesn't cut it anymore for fast public-key crypto. Keys are large for reasonable security making it quite slow...
Enter elliptic curves: smaller numbers are necessary and everything is faster. Maybe this library is not for embedded system usage, but now people can experiment with ECC for those use-cases where some form of RSA would be chosen otherwise.

This is a side-project from which other people may benefit. Due to time-constraints, I can't work as much on it as I would like. If you use/like it or want to make some criticism heard, please write an email.