Package | Description |
---|---|
com.tinfoilsms.crypto | |
org.spongycastle.crypto.engines |
Basic cipher classes.
|
org.spongycastle.crypto.io |
Classes for doing "enhanced" I/O with Digests and MACs.
|
org.spongycastle.crypto.modes |
Modes for symmetric ciphers.
|
org.spongycastle.crypto.paddings |
Paddings for symmetric ciphers.
|
Modifier and Type | Field and Description |
---|---|
private BufferedBlockCipher |
ECEngine.cipher |
Constructor and Description |
---|
ECEngine(BufferedBlockCipher cipher,
CipherParameters nonce,
APrioriInfo sharedInfo)
Constructor, specify the block cipher to use such as CBC or BlowFish.
|
ECEngine(BufferedBlockCipher cipher,
CipherParameters nonce,
Digest digest,
APrioriInfo sharedInfo)
Constructor, specify the block cipher and digest to use
|
Modifier and Type | Field and Description |
---|---|
(package private) BufferedBlockCipher |
IESEngine.cipher |
Constructor and Description |
---|
IESEngine(BasicAgreement agree,
DerivationFunction kdf,
Mac mac,
BufferedBlockCipher cipher)
set up for use in conjunction with a block cipher to handle the
message.
|
IESEngine(BasicAgreement agree,
DerivationFunction kdf,
Mac mac,
BufferedBlockCipher cipher,
CipherParameters nonce)
TODO PERHAPS MAKE A NONCE INTERFACE RATHER THAN USING CIPHERPARAMETERS
WHICH DOES NOT ACTUALLY HAVE ANYTHING SPECIFIED IN THE INTERFACE.
|
Modifier and Type | Field and Description |
---|---|
private BufferedBlockCipher |
CipherOutputStream.bufferedBlockCipher |
private BufferedBlockCipher |
CipherInputStream.bufferedBlockCipher |
Constructor and Description |
---|
CipherInputStream(java.io.InputStream is,
BufferedBlockCipher cipher)
Constructs a CipherInputStream from an InputStream and a
BufferedBlockCipher.
|
CipherOutputStream(java.io.OutputStream os,
BufferedBlockCipher cipher)
Constructs a CipherOutputStream from an OutputStream and a
BufferedBlockCipher.
|
Modifier and Type | Class and Description |
---|---|
class |
CTSBlockCipher
A Cipher Text Stealing (CTS) mode cipher.
|
class |
PaddedBlockCipher
Deprecated.
use org.spongycastle.crypto.paddings.PaddedBufferedBlockCipher instead.
|
Modifier and Type | Class and Description |
---|---|
class |
PaddedBufferedBlockCipher
A wrapper class that allows block ciphers to be used to process data in
a piecemeal fashion with padding.
|