Package | Description |
---|---|
org.cryptacular | |
org.cryptacular.bean | |
org.cryptacular.util |
Modifier and Type | Class and Description |
---|---|
class |
CiphertextHeaderV2
Cleartext header prepended to ciphertext providing data required for decryption.
|
Modifier and Type | Method and Description |
---|---|
static CiphertextHeader |
CiphertextHeader.decode(byte[] data)
Deprecated.
Creates a header from encrypted data containing a cleartext header prepended to the start.
|
static CiphertextHeader |
CiphertextHeader.decode(InputStream input)
Deprecated.
Creates a header from encrypted data containing a cleartext header prepended to the start.
|
Modifier and Type | Method and Description |
---|---|
protected BufferedBlockCipherAdapter |
BufferedBlockCipherBean.newCipher(CiphertextHeader header,
boolean mode) |
protected AEADBlockCipherAdapter |
AEADBlockCipherBean.newCipher(CiphertextHeader header,
boolean mode) |
protected abstract BlockCipherAdapter |
AbstractBlockCipherBean.newCipher(CiphertextHeader header,
boolean mode)
Creates a new cipher adapter instance suitable for the block cipher used by this class.
|
protected byte[] |
AbstractBlockCipherBean.process(CiphertextHeader header,
boolean mode,
byte[] input) |
protected abstract byte[] |
AbstractCipherBean.process(CiphertextHeader header,
boolean mode,
byte[] input)
Processes the given data under the action of the cipher.
|
protected void |
AbstractBlockCipherBean.process(CiphertextHeader header,
boolean mode,
InputStream input,
OutputStream output) |
protected abstract void |
AbstractCipherBean.process(CiphertextHeader header,
boolean mode,
InputStream input,
OutputStream output)
Processes the given data under the action of the cipher.
|
Modifier and Type | Method and Description |
---|---|
static CiphertextHeader |
CipherUtil.decodeHeader(byte[] data,
Function<String,SecretKey> keyLookup)
Decodes the ciphertext header at the start of the given byte array.
|
static CiphertextHeader |
CipherUtil.decodeHeader(InputStream in,
Function<String,SecretKey> keyLookup)
Decodes the ciphertext header at the start of the given input stream.
|
Copyright © 2003-2024 Virginia Tech. All Rights Reserved.