Minimal Haskell curve25519 diffie-hellman function
This package implements minimal bindings to the curve25519 diffie-hellman function. It should be relatively easy to both depend on, or include outright in your executable/package itself.
The underlying implementation is the
ref code from SUPERCOP,
which was originally implemented by Dan J. Bernstein.
It's just a
cabal install away on Hackage:
$ cabal install curve25519
Master git repository:
git clone https://github.com/thoughtpolice/hs-curve25519.git
There's also a BitBucket mirror:
git clone https://bitbucket.org/thoughtpolice/hs-curve25519.git
MIT. See LICENSE.txt for terms of copyright and redistribution.