Package | Description |
---|---|
com.tinfoilsms.csprng | |
org.spongycastle.crypto.agreement.kdf | |
org.spongycastle.crypto.engines |
Basic cipher classes.
|
org.spongycastle.crypto.generators |
Generators for keys, key pairs and password based encryption algorithms.
|
org.spongycastle.jcajce.provider.asymmetric.ec |
Modifier and Type | Class and Description |
---|---|
class |
SDFGenerator
Seed Derivative Function (SDF) generator, derives a seed value to be used
with a PRNG given the SDF parameters, Digest, and the number of iterations
that the digest is applied
|
Modifier and Type | Class and Description |
---|---|
class |
DHKEKGenerator
RFC 2631 Diffie-hellman KEK derivation function.
|
class |
ECDHKEKGenerator
X9.63 based key derivation function for ECDH CMS.
|
Modifier and Type | Field and Description |
---|---|
private DerivationFunction |
ECDHKEKGenerator.kdf |
Modifier and Type | Field and Description |
---|---|
(package private) DerivationFunction |
IESEngine.kdf |
Constructor and Description |
---|
IESEngine(BasicAgreement agree,
DerivationFunction kdf,
Mac mac)
set up for use with stream mode, where the key derivation function
is used to provide a stream of bytes to xor with the message.
|
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 | Class and Description |
---|---|
class |
BaseKDFBytesGenerator
Basic KDF generator for derived keys and ivs as defined by IEEE P1363a/ISO 18033
This implementation is based on ISO 18033/P1363a. |
class |
KDF1BytesGenerator
KDF1 generator for derived keys and ivs as defined by IEEE P1363a/ISO 18033
This implementation is based on ISO 18033/IEEE P1363a. |
class |
KDF2BytesGenerator
KDF2 generator for derived keys and ivs as defined by IEEE P1363a/ISO 18033
This implementation is based on IEEE P1363/ISO 18033. |
class |
MGF1BytesGenerator
Generator for MGF1 as defined in PKCS 1v2
|
Modifier and Type | Field and Description |
---|---|
private DerivationFunction |
KeyAgreementSpi.kdf |
Constructor and Description |
---|
KeyAgreementSpi(java.lang.String kaAlgorithm,
BasicAgreement agreement,
DerivationFunction kdf) |