NaCl (software)

from Wikipedia, the free encyclopedia
NaCl
Basic data

developer Daniel J. Bernstein , Tanja Lange , Peter Schwabe
Publishing year 2008
Current  version 20110221
( February 21, 2011 )
operating system unixoid system
programming language C , C ++ , Python
category Cryptography
License Public domain
German speaking No
nacl.cr.yp.to
Sodium
Basic data

developer Community
Publishing year July 8, 2013
Current  version 1.0.18
( May 30, 2019 )
operating system unixoid system , Microsoft Windows , iOS , Android
programming language C.
category Cryptography
License ISC license
German speaking No
libsodium.org

NaCl (pronounced salt ) and the sodium based on it , also called libsodium , are cryptography - program libraries that are modern, easy to use, secure, fast, free and open source software .

They are used in Discord , Dovecot , KeePassXC , PowerDNS , Saltstack , Stellar , Threema , Tox , Wire and WordPress . Sodium has been part of the PHP language core since 2017 .

Among other things, the libraries offer functions for three hash types as well as symmetrical and asymmetrical authentication , encryption and decryption .

NaCl

The NaCl core development team consists of Daniel J. Bernstein , Tanja Lange and Peter Schwabe. NaCl is programmed in C, some speed-critical parts in assembler . There are interfaces for the programming languages C , C ++ and Python , but only Unix-like operating systems are supported .

Sodium

Sodium is a further development of NaCl, which supports additional operating systems and interfaces to over 30 programming languages. Not least because of the inclusion of sodium in the PHP language core in 2017, its spread has increased significantly.

Names

NaCl is the abbreviation for “Networking and Cryptography Library”; it does not provide any network functionality, but network software can use it. Salt in cryptology denotes an additional character string for passwords . Table salt is sodium chloride with the chemical formula NaCl, which explains the pronunciation “salt” in the NaCl library. The sodium contained in table salt is also called sodium. The frequently used variant "libsodium" corresponds to the Linux naming convention for dynamic libraries .

Individual evidence

  1. a b c NaCl: Networking and Cryptography library . March 15, 2016 (accessed January 7, 2020).
  2. Installation . March 15, 2016 (accessed January 7, 2020).
  3. Features . (accessed on March 27, 2017).
  4. Introduction. In: libsodium.org. May 30, 2019, accessed January 7, 2020 .
  5. Frank Denis: github.com .
  6. 1.0.18 . May 30, 2019 (accessed January 6, 2020).
  7. download.libsodium.org .
  8. a b c download.libsodium.org .
  9. github.com .
  10. www.openhub.net .
  11. github.com .
  12. a b c Dennis Schirrmacher: Libsodium in PHP: crypto library for the script language on the cutting edge of technology. In: heise online . Heise Medien , February 21, 2017, accessed on January 6, 2020 .
  13. a b c NaCl: Networking and Cryptography library. March 15, 2016, accessed January 6, 2020 .
  14. ^ Frank Denis: Projects using libsodium. In: libsodium.org. December 6, 2019, accessed January 6, 2020 .
  15. Scott Arciszewski: Libsodium Quick Reference: Similarly-Named Functions and Their use cases. In: paragonie.com. Paragon Initiative Enterprises Blog, June 10, 2017, accessed January 6, 2020 .
  16. ^ Frank Denis: Bindings for other languages. In: libsodium.org. August 22, 2019, accessed on January 6, 2020 .
  17. ^ Daniel J. Bernstein , Tanja Lange , Peter Schwabe: The security impact of a new cryptographic library . In: Alejandro Hevia and Gregory Neven (Eds.): Proceedings of LatinCrypt 2012 (=  Lecture Notes in Computer Science ). tape 7533 . Springer, ISBN 978-3-642-33480-1 , pp. 159–176 , doi : 10.1007 / 978-3-642-33481-8_9 (English, coolnacl-20120725.pdf ).