[cryptography] Sodium: NaCl repackaged for portability/ease-of-use

Tony Arcieri tony.arcieri at gmail.com
Wed Mar 6 16:40:33 EST 2013

Hello crypto-people,

Frank Denis just announced Sodium, a fork of NaCl containing only the
reference C code, packaged using a standard autotools build system:


NaCl has traditionally been hard to use because it targets *IX exclusively
and the assembly versions of the various algorithms are not PIC yet. For
this reason there are a lot of issues making NaCl work portably (e.g.
across 32-bit/64-bit platforms, let alone Windows)

Sodium is designed to be portable, easy to compile/package, and it even
works on Windows!

Some might think this undermines some of the original goals of NaCl,
however djb has suggested it as an option in the past:

On Sun, Dec 16, 2012 at 10:27 PM, D. J. Bernstein <djb at cr.yp.to> wrote:

>    * More language support. The real work here is making everything
>      PIC. Of course, if what matters is the API rather than speed, then
>      achieving PIC is easy: just remove the asm.

Tony Arcieri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/cryptography/attachments/20130306/94b86979/attachment.html>

More information about the cryptography mailing list