NaCl (software)

NaCl (Networking and Cryptography Library, pronounced "salt") is a public domain, high-speed software library for cryptography.

Uses your system voice; voice and rate in settings.

Snapshot

≈ 2 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

NaCl (Networking and Cryptography Library, pronounced "salt") is a public domain, high-speed software library for cryptography. NaCl was created by the mathematician and programmer Daniel J. Bernstein, who is best known for the creation of qmail and Curve25519. The core team also includes Tanja Lange and Peter Schwabe.

The main goal while creating NaCl, according to the team's 2011 paper, was to "avoid various types of cryptographic disasters suffered by previous cryptographic libraries". The team does so by safer designs that avoid issues such as side-channel leakage and loss of randomness, by being performant enough that safety features do not get disabled by the user, and by picking better cryptographic primitives.

The high-level "box" API is designed to encourage the use of authenticated encryption.

Low-level functions

, hashing using SHA-512 or SHA-256 , string comparison in constant time.

Text derived from https://en.wikipedia.org/w/index.php?oldid=1369061097 under CC BY-SA 4.0; modifications have been made.

Sources cited in this revision

26 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.