What algorithm does libsodium use?

What algorithm does libsodium use?

Libsodium vs. OpenSSL

Libsodium
MAC Algorithms HMAC-SHA2, Poly1305-AES, BLAKE2-MAC
Block Cipher Algorithms AES
Cipher Modes CTR, GCM
Stream Ciphers Salsa20, ChaCha

Is libsodium secure?

Overall our finding is that libsodium is indeed a secure, high-quality library that meets its stated usability and efficiency goals. We did not uncover any major vulnerabilities in the version of libsodium that we reviewed. During our review, we did identify several low severity issues in the libsodium 1.0.

Is libsodium FIPS compliant?

The tables below compare cryptography libraries that deal with cryptography algorithms and have API function calls to each of the supported features….FIPS 140.

Implementation libsodium
FIPS 140-2 mode No
FIPS 140-2 validated No
FIPS 140-3 validated No

What is libsodium Dev?

NaCl’s goal is to provide all of the core operations needed to build higher-level cryptographic tools. Sodium is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API. This package provides development headers needed for applications that use libsodium.

What is PHP extension sodium?

The php-sodium extension provides strong encryption capabilities in an easy and consistent way. Note that, for sites not having the extension installed, a php-openssl based solution, considered suboptimal, is used, and this fallback will stop working in a few versions (Moodle 4.2).

What is PyNaCl?

PyNaCl is a Python binding to libsodium, which is a fork of the Networking and Cryptography library. These libraries have a stated goal of improving usability, security and speed. It supports Python 3.5+ as well as PyPy 3.

How do I install Libsodium on Windows?

Windows

  1. Extract the files from the zip file.
  2. There are two extracted directories: x64 and Win32 . Select x64 for 64-bit or Win32 for 32-bit versions of Windows, and search for libsodium.dll . You can find one inside Release/v141/dynamic/libsodium.dll.
  3. Copy this libsodium.dll file and paste it in C:\Windows\system32.

How do I install Libsodium devel?

Detailed Instructions:

  1. Run update command to update package repositories and get latest package information.
  2. Run the install command with -y flag to quickly install the packages and dependencies. sudo apt-get install -y libsodium-dev.
  3. Check the system logs to confirm that there are no related errors.

How do I enable Libsodium?

Procedure

  1. Login to the server via SSH or Terminal as the root user.
  2. If you do not yet already have the EPEL repository installed, you must install it.
  3. Issue the following command to install the required libraries: yum install libsodium libsodium-devel -y.