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

Module documentation for 0.0.5.0

Used by 2 packages in lts-13.19(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.