| Package | Description |
|---|---|
| cz.d1x.dxcrypto.encryption | |
| cz.d1x.dxcrypto.encryption.crypto |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
EncryptionAlgorithm.decrypt(byte[] input)
Decrypts specified array of bytes.
|
byte[] |
GenericEncryptionAlgorithm.decrypt(byte[] input) |
byte[] |
EncryptionEngine.decrypt(byte[] input,
byte[] initVector)
Decrypts given input using given initialization vector (if needed)
|
String |
EncryptionAlgorithm.decrypt(String input)
Decrypts specified input text using default UTF-8 encoding.
|
String |
GenericEncryptionAlgorithm.decrypt(String input) |
byte[] |
EncryptionAlgorithm.encrypt(byte[] input)
Encrypts specified array of bytes.
|
byte[] |
GenericEncryptionAlgorithm.encrypt(byte[] input) |
byte[] |
EncryptionEngine.encrypt(byte[] input,
byte[] initVector)
Encrypts given input and using given initialization vector (if needed).
|
String |
EncryptionAlgorithm.encrypt(String input)
Encrypts specified input text.
|
String |
GenericEncryptionAlgorithm.encrypt(String input) |
| Constructor and Description |
|---|
GenericEncryptionAlgorithm(EncryptionEngine engine,
BytesRepresentation bytesRepresentation,
String encoding)
Creates a new instance of generic algorithm that does NOT use initialization vector.
|
GenericEncryptionAlgorithm(EncryptionEngine engine,
BytesRepresentation bytesRepresentation,
String encoding,
int blockSize,
ByteArrayFactory ivFactory,
CombiningSplitting ivOutputCombining)
Creates a new instance of generic algorithm that uses initialization vector.
|
RSAKeysGenerator(int keySize)
Creates a new generator of RSA keys with given key size.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
AsymmetricCryptoEngine.decrypt(byte[] input,
byte[] initVector) |
byte[] |
SymmetricCryptoEngine.encrypt(byte[] input,
byte[] initVector) |
byte[] |
AsymmetricCryptoEngine.encrypt(byte[] input,
byte[] initVector) |
| Constructor and Description |
|---|
SymmetricCryptoEngine(String cipherName,
Key key) |
Copyright © 2016. All rights reserved.