| Package | Description |
|---|---|
| cz.d1x.dxcrypto.encryption |
| Modifier and Type | Class and Description |
|---|---|
class |
PBEKeyFactory
Base for key factories that provide password-based encryption keys.
|
class |
PBKDF2KeyFactory
Key factory that uses PBKDF2 function with HMAC-SHA1 for key derivation.
|
class |
RSAPrivateKeyFactory
Key factory for RSA private key.
|
class |
RSAPublicKeyFactory
Key factory for RSA public key.
|
| Modifier and Type | Method and Description |
|---|---|
static SymmetricCryptoAlgorithmBuilder |
EncryptionAlgorithms.aes(KeyFactory<Key> keyFactory)
Creates a new builder for AES encryption algorithm with these properties:
Type of cipher: Symmetric
Operation mode: Cipher Block Chaining (CBC)
Block size: 128 bits
Input padding: PKCS#5
Encryption key: based on given key factory
|
AsymmetricCryptoAlgorithmBuilder |
AsymmetricCryptoAlgorithmBuilder.privateKey(KeyFactory<Key> privateKeyFactory)
Sets custom factory of private key for decryption of messages.
|
AsymmetricCryptoAlgorithmBuilder |
AsymmetricCryptoAlgorithmBuilder.publicKey(KeyFactory<Key> publicKeyFactory)
Sets custom factory of public key for encryption of messages.
|
static SymmetricCryptoAlgorithmBuilder |
EncryptionAlgorithms.tripleDes(KeyFactory<Key> keyFactory)
Crates a new builder for 3DES encryption algorithm with these properties:
Type of cipher: Symmetric
Operation mode: Cipher Block Chaining (CBC)
Block size: 64 bits
Input padding: PKCS#5
Encryption key: based on given key factory
|
| Constructor and Description |
|---|
AsymmetricCryptoAlgorithm(String cipherName,
KeyFactory<Key> publicKeyFactory,
KeyFactory<Key> privateKeyFactory,
BytesRepresentation bytesRepresentation,
String encoding)
Creates a new instance of base asymmetric algorithm.
|
AsymmetricCryptoAlgorithm(String cipherName,
KeyFactory<Key> publicKeyFactory,
KeyFactory<Key> privateKeyFactory,
BytesRepresentation bytesRepresentation,
String encoding)
Creates a new instance of base asymmetric algorithm.
|
SymmetricCryptoAlgorithm(String cipherName,
KeyFactory<Key> keyFactory,
CombineSplitAlgorithm combineSplitAlgorithm,
BytesRepresentation bytesRepresentation,
String encoding)
Creates a new instance of base symmetric algorithm.
|
SymmetricCryptoAlgorithmBuilder(KeyFactory<Key> keyFactory,
String algorithmName,
String shortAlgorithmName,
int blockSize)
Creates a new builder.
|
Copyright © 2016. All rights reserved.