Sodium Cryptographic Library Release 1.0.18

Available release of a free cryptographic library Sodium 1.0.18 which is API level compatible with the library NaCl (Networking and Cryptography library) and provides functions for organizing secure network interaction, hashing, generating pseudo-random numbers, working with digital signatures, encryption using authenticated public and symmetric (shared-key) keys. The Sodium API is simple and offers the most secure options, encryption and hashing methods by default. Library code spreads under a free ISC license.

Main innovations:

  • Added new WebAssembly/WASI target framework (Interface WASI to use WebAssembly outside the browser);
  • On systems with support for AVX2 instructions, the performance of basic hashing operations has been increased by about 10%;
  • Added support for building using Visual Studio 2019;
  • Implemented new functions core_ed25519_from_hash() and core_ed25519_random() to reflect a hash to edwards25519 or get a random edwards25519;
  • Added function crypto_core_ed25519_scalar_mul() to multiply scalar*scalar (mod L);
  • Added support for an ordered group of primes Ristrettorequired for compatibility with wasm-crypto;
  • Provided system call usage getentropy() on systems that support it;
  • Support for the NativeClient technology has been discontinued, the development of which discontinued in favor of WebAssembly;
  • The compiler options "-ftree-vectorize" and "-ftree-slp-vectorize" are used during the build.

Source: opennet.ru

Add a comment