Uses of Interface
org.cryptacular.generator.Nonce
Packages that use Nonce
Package
Description
-
Uses of Nonce in org.cryptacular.bean
Methods in org.cryptacular.bean that return NonceMethods in org.cryptacular.bean with parameters of type NonceModifier and TypeMethodDescriptionvoid
Sets the nonce/IV generation strategy.Constructors in org.cryptacular.bean with parameters of type NonceModifierConstructorDescriptionAbstractBlockCipherBean
(KeyStore keyStore, String keyAlias, String keyPassword, Nonce nonce) Creates a new instance by specifying all properties.AbstractCipherBean
(KeyStore keyStore, String keyAlias, String keyPassword, Nonce nonce) Creates a new instance by specifying all properties.AEADBlockCipherBean
(Spec<org.bouncycastle.crypto.modes.AEADBlockCipher> blockCipherSpec, KeyStore keyStore, String keyAlias, String keyPassword, Nonce nonce) Creates a new instance by specifying all properties.BufferedBlockCipherBean
(Spec<org.bouncycastle.crypto.BufferedBlockCipher> blockCipherSpec, KeyStore keyStore, String keyAlias, String keyPassword, Nonce nonce) Creates a new instance by specifying all properties. -
Uses of Nonce in org.cryptacular.generator.sp80038a
Classes in org.cryptacular.generator.sp80038a that implement NonceModifier and TypeClassDescriptionclass
Uses aBigInteger
to back a counter in order to produce nonces of arbitrary length.class
Nonce generation strategy that produces a random value according to NIST SP-800-38a, appendix C, method 1 (encrypted nonce), suitable for use with any block cipher mode described in that standard except OFB.class
Simple counter nonce that uses a long integer counter internally and produces 8-byte nonces.class
Nonce generation strategy that produces a random value according to NIST SP-800-38a, appendix C, method 2 (random number generator), suitable for use with any block cipher mode described in that standard except OFB. -
Uses of Nonce in org.cryptacular.generator.sp80038d
Classes in org.cryptacular.generator.sp80038d that implement NonceModifier and TypeClassDescriptionclass
Deterministic nonce generation strategy that uses a counter for the invocation field as described in NIST SP-800-38D, section 8.2.1.class
RBG-based nonce generation strategy that uses a RBG component to produce values for the invocation field as described in NIST SP-800-38D, section 8.2.2. -
Uses of Nonce in org.cryptacular.util
Methods in org.cryptacular.util with parameters of type NonceModifier and TypeMethodDescriptionstatic byte[]
CipherUtil.encrypt
(org.bouncycastle.crypto.BlockCipher cipher, SecretKey key, Nonce nonce, byte[] data) Encrypts data using the given block cipher with PKCS5 padding.static void
CipherUtil.encrypt
(org.bouncycastle.crypto.BlockCipher cipher, SecretKey key, Nonce nonce, InputStream input, OutputStream output) Encrypts data using the given block cipher with PKCS5 padding.static byte[]
CipherUtil.encrypt
(org.bouncycastle.crypto.modes.AEADBlockCipher cipher, SecretKey key, Nonce nonce, byte[] data) Encrypts data using an AEAD cipher.static void
CipherUtil.encrypt
(org.bouncycastle.crypto.modes.AEADBlockCipher cipher, SecretKey key, Nonce nonce, InputStream input, OutputStream output) Encrypts data using an AEAD cipher.