[erlang-questions] [ANN] Luke - Post-quantum Key Exchange: A New Hope

Alexander Færøy ahf@REDACTED
Tue May 10 00:52:39 CEST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

Luke 1.2.0 has been released. Luke is a set of Erlang NIF's for the
post-quantum key exchange scheme named "A New Hope"[1]. The key exchange
scheme provides 128 bits of post-quantum security with "a comfortable
margin".

The result of the handshake is a 256 bit (32 byte binary) shared secret
which can be used together with Erlang's various symmetric ciphers found
in the crypto app or together with the more modern ciphers found in
Jesper Louis Andersen's enacl library[2].

I hope this library will be useful for other people who are interested
in playing around with post-quantum cryptography in Erlang.

Note that Luke is NOT a drop-in replacement for ordinary Diffie-Hellman
or x25519 since it requires one extra message between the initiator and
the responder to finalize the handshake.

Luke is using the reference implementation of A New Hope[3]. The
reference implementation is written in portable C and thus does not
contain any fancy CPU specific optimizations. The avx2 implementation of
A New Hope[4] will be added to the library at a later point in time if
it becomes necessary, but the API will remain the same.

A New Hope is placed into the Public Domain by the authors[1].

Luke is available from:

    Primary: https://lab.baconsvin.org/ahf/luke
    Mirror:  https://github.com/ahf/luke

Happy hacking.

Cheers,
Alex.

[1]: https://github.com/tpoeppelmann/newhope/raw/master/paper/newhope.pdf
[2]: https://github.com/jlouis/enacl
[3]: https://github.com/tpoeppelmann/newhope/tree/master/ref
[4]: https://github.com/tpoeppelmann/newhope/tree/master/avx2

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXMRJaAAoJEPm8L+IrCM6PgRoQAMGD5/sEsOJvxwejGPK9zQOX
DZF3aAVvshxGwImkWGkmubfQqTtdnEqeK7wZYp32Ln2YnJptoym89jG+HGJ5OZ9B
q+K4POGiEg7dIprdIlaYEq5H+UbG7RKsiGsAXlpkkfMoutnPDGRaDm9cuTMHlXvS
9p6WUgZOukMW+qi3Tz3HF+zxV/1axxr6d0hDlwUflszGp0roBe7buPVzVI5n9Bj+
ZM+uUhyxXE+gh95L8+tn9Ia8CB1YD5H47UCrSwXpvxt6y1Hx+Hq+I7ccOtgPIdgK
tHEDA5cOXgZg+DmR+2ssrut+scYItEk1BHrQJ2A7pSq0TOF3qJ39NJz2lgEjokmt
yW7o7eEByUsHeDaXun6R7HqH2d7DwfACl7QTTqxf4qpZrrJAUk8R59UB3jfePxLm
hr6Yi39WpgcjJEoAjjzuNwrqGf5/jxO0e0Dy15KCMmf8b2WeSNvJEUzZfCzMVxvI
b8o+2wlIZdTPUW8BCQjVu0zVAMqGR4hGOpTxELvNSLvVDgssbMQhIjGGrbn+92nL
1TkWU/yXYsw9In+dz96AfuPE+8w7vTSmDUmyx5mK3l0uD9r4tizyQPI/xyxc2PuW
M2dcpvRKLwqAEy1ry0VQhP5tQ2/8u83cGzxswNciUvfey9qWNvq/Eu1Fwhc2gBc4
O1gIt+HmfgCOG7TKUQee
=UgyQ
-----END PGP SIGNATURE-----


-- 
Alexander Færøy



More information about the erlang-questions mailing list