Skip navigation links

@ParametersAreNonnullByDefault

Package net.consensys.cava.crypto.sodium

Classes and utilities for working with the sodium native library.

See: Description

Package net.consensys.cava.crypto.sodium Description

Classes and utilities for working with the sodium native library.

Classes and utilities in this package provide an interface to the native Sodium crypto library (https://www.libsodium.org/), which must be installed on the same system as the JVM. It will be searched for in common library locations, or it can be loaded explicitly using Sodium.searchLibrary(java.nio.file.Path...) or Sodium.loadLibrary(java.nio.file.Path).

Classes in this package also depend upon the JNR-FFI library being available on the classpath, along with its dependencies. See https://github.com/jnr/jnr-ffi. JNR-FFI can be included using the gradle dependency 'com.github.jnr:jnr-ffi'.

Skip navigation links