All Types

org.apache.tuweni.crypto.sodium.AES256GCM

Authenticated Encryption with Additional Data using AES-GCM.

org.apache.tuweni.crypto.sodium.Allocated

Allocated objects track allocation of memory using Sodium.

org.apache.tuweni.crypto.sodium.Auth

Secret-key authentication.

org.apache.tuweni.crypto.mikuli.BLS12381

This Boneh-Lynn-Shacham (BLS) signature implementation is constructed from a pairing friendly elliptic curve, the BLS12-381 curve. It uses parameters as defined in https://z.cash/blog/new-snark-curve and the points in groups G1 and G2 are defined https://github.com/zkcrypto/pairing/blob/master/src/bls12_381/README.md

org.apache.tuweni.crypto.sodium.Box

Public-key authenticated encryption.

org.apache.tuweni.crypto.sodium.Concatenate

Concatenate elements allocated to Sodium memory.

org.apache.tuweni.crypto.sodium.DetachedEncryptionResult

The result from a detached encryption.

org.apache.tuweni.crypto.sodium.DiffieHelman

Sodium provides an API to perform scalar multiplication of elliptic curve points.

org.apache.tuweni.crypto.sodium.GenericHash

Generic hashing utility (BLAKE2b).

org.apache.tuweni.crypto.Hash

Various utilities for providing hashes (digests) of arbitrary data. Requires the BouncyCastleProvider to be loaded and available. See https://www.bouncycastle.org/wiki/display/JA1/Provider+Installation for detail.

org.apache.tuweni.crypto.sodium.HMACSHA256

Message authentication code support for HMAC-SHA-256.

org.apache.tuweni.crypto.sodium.HMACSHA512

Message authentication code support for HMAC-SHA-512.

org.apache.tuweni.crypto.sodium.HMACSHA512256

Message authentication code support for HMAC-SHA-512-256.

org.apache.tuweni.crypto.InvalidSEC256K1SecretKeyStoreException

Exception thrown when reading a store that contains an invalid SEC256K1 private keys.

org.apache.tuweni.crypto.sodium.KeyDerivation

Key derivation.

org.apache.tuweni.crypto.sodium.KeyExchange

Key exchange.

org.apache.tuweni.crypto.mikuli.KeyPair

KeyPair represents a public and private key.

org.apache.tuweni.crypto.sodium.LibSodium
org.apache.tuweni.crypto.sodium.PasswordHash

The Argon2 memory-hard hashing function.

org.apache.tuweni.crypto.mikuli.PublicKey

This class represents a BLS12-381 public key.

org.apache.tuweni.crypto.SECP256K1

An Elliptic Curve Digital Signature using parameters as used by Bitcoin, and defined in Standards for Efficient Cryptography (SEC) (Certicom Research, http://www.secg.org/sec2-v2.pdf).

org.apache.tuweni.crypto.sodium.SecretBox

Secret-key authenticated encryption.

org.apache.tuweni.crypto.sodium.SecretDecryptionStream

Used to decrypt a sequence of messages, or a single message split into arbitrary chunks.

org.apache.tuweni.crypto.sodium.SecretEncryptionStream

Used to encrypt a sequence of messages, or a single message split into arbitrary chunks.

org.apache.tuweni.crypto.mikuli.SecretKey

This class represents a BLS12-381 private key.

org.apache.tuweni.crypto.sodium.SHA256Hash

SHA-256 hashing. The SHA-256 and SHA-512 functions are provided for interoperability with other applications. If you are looking for a generic hash function and not specifically SHA-2, using crypto_generichash() (BLAKE2b) might be a better choice.

org.apache.tuweni.crypto.mikuli.Signature

This class represents a Signature on G2

org.apache.tuweni.crypto.sodium.Signature

Public-key signatures.

org.apache.tuweni.crypto.mikuli.SignatureAndPublicKey

This class represents a signature and a public key

org.apache.tuweni.crypto.sodium.Sodium

Access to the sodium native library.

org.apache.tuweni.crypto.sodium.SodiumException

An exception that is thrown when an error occurs using the native sodium library.

org.apache.tuweni.crypto.sodium.SodiumVersion

Details of a sodium native library version.

org.apache.tuweni.crypto.sodium.XChaCha20Poly1305

Authenticated Encryption with Additional Data using XChaCha20-Poly1305.