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 NonceConstructors in org.cryptacular.bean with parameters of type NonceModifierConstructorDescriptionAbstractBlockCipherBean(KeyStore keyStore, String keyAlias, String keyPassword, Nonce nonce) Creates a new abstract block cipher bean.AbstractCipherBean(KeyStore keyStore, String keyAlias, String keyPassword, Nonce nonce) Creates a new abstract cipher bean.AEADBlockCipherBean(Spec<org.bouncycastle.crypto.modes.AEADBlockCipher> blockCipherSpec, KeyStore keyStore, String keyAlias, String keyPassword, Nonce nonce) Creates a new AEAD block cipher bean.BufferedBlockCipherBean(Spec<org.bouncycastle.crypto.BufferedBlockCipher> blockCipherSpec, KeyStore keyStore, String keyAlias, String keyPassword, Nonce nonce) Creates a buffered block cipher bean. -
Uses of Nonce in org.cryptacular.generator.sp80038a
Classes in org.cryptacular.generator.sp80038a that implement NonceModifier and TypeClassDescriptionclassUses aBigIntegerto back a counter in order to produce nonces of arbitrary length.classNonce 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.classSimple counter nonce that uses a long integer counter internally and produces 8-byte nonces.classNonce 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 TypeClassDescriptionclassDeterministic nonce generation strategy that uses a counter for the invocation field as described in NIST SP-800-38D, section 8.2.1.classRBG-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 voidCipherUtil.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 voidCipherUtil.encrypt(org.bouncycastle.crypto.modes.AEADBlockCipher cipher, SecretKey key, Nonce nonce, InputStream input, OutputStream output) Encrypts data using an AEAD cipher.