Package | Description |
---|---|
org.cryptacular.bean | |
org.cryptacular.generator.sp80038a | |
org.cryptacular.generator.sp80038d | |
org.cryptacular.util |
Modifier and Type | Method and Description |
---|---|
Nonce |
AbstractCipherBean.getNonce() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCipherBean.setNonce(Nonce nonce)
Sets the nonce/IV generation strategy.
|
Constructor and Description |
---|
AbstractBlockCipherBean(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.
|
Modifier and Type | Class and Description |
---|---|
class |
BigIntegerCounterNonce
Uses a
BigInteger to back a counter in order to produce nonces of arbitrary length. |
class |
EncryptedNonce
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 |
LongCounterNonce
Simple counter nonce that uses a long integer counter internally and produces 8-byte nonces.
|
class |
RBGNonce
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.
|
Modifier and Type | Class and Description |
---|---|
class |
CounterNonce
Deterministic nonce generation strategy that uses a counter for the invocation field as described in NIST SP-800-38D, section 8.2.1.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static 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.
|
Copyright © 2003-2024 Virginia Tech. All Rights Reserved.