MIT licensed by Austin Seipp
Maintained by Austin Seipp
This version can be pinned in stack with:ed25519-0.0.5.0@sha256:24ac7b5f3d9fa3c2f70262b329f2a75f24e7fd829f88c189b388efa1bcd67eb2,4165

Module documentation for 0.0.5.0

Used by 1 package in nightly-2022-08-02(full list with versions):

Minimal package for ed25519 signatures

Build Status MIT Haskell

This package implements minimal bindings to the ed25519 signature scheme. It’s designed to be small, with no dependencies, and fast. It also comes with extensive guidelines and detailed documentation. It should be relatively easy to both depend on directly with Cabal or even copy into any projects that need it directly.

For full details (including notes on the underlying implementation), check out the docs.

Installation

It’s just a cabal install away on Hackage:

$ cabal install ed25519

Join in

Be sure to read the contributing guidelines. File bugs in the GitHub issue tracker.

Master git repository:

  • git clone https://github.com/thoughtpolice/hs-ed25519.git

There’s also a BitBucket mirror:

  • git clone https://bitbucket.org/thoughtpolice/hs-ed25519.git

Authors

See AUTHORS.txt.

License

MIT. See LICENSE.txt for terms of copyright and redistribution.

Changes

0.0.5.0

  • Added doctests and crash course introduction.
  • Fixed some bugs in the test harnesses.
  • Fixed some hlint gripes.
  • Minor touchups elsewhere.

0.0.4.0

  • Crypto.Sign.Ed25519 is now marked -XTrustworthy.
  • There is now a Generic instance for Signature on GHC 7.2 and above.
  • DEPRECATED: createKeypairFromSeed due to unsafety.
    • Use createKeypairFromSeed_ instead, which will return a Maybe.
  • DEPRECATED: sign' and verify' for bad naming
    • Use dsign and dverify instead.
  • Improve benchmarks.
  • Huge overhaul to documentation, including design and implementation notes.

0.0.3.0

  • Tighten dependencies everywhere for cleaner builds.
  • Fix old code (including compatibility with newer QuickCheck versions)
  • New API: toPublicKey :: SecretKey -> PublicKey
    • Used to derive the public key for a given secret key
  • New API: createKeypairFromSeed :: ByteString -> (PublicKey, SecretKey)
    • Used to create a deterministic Ed25519 keypair from a 32-byte seed.
  • For GHC 7.2 and above, both PublicKey and SecretKey are now instances of Generic.
  • Improved documentation.
  • Various cleanups and some fixes in the tests and benchmarks.

0.0.2.0

  • Portability improvements.

0.0.1.0

  • Initial release.