| Package | Description |
|---|---|
| cz.d1x.dxcrypto.encryption | |
| cz.d1x.dxcrypto.encryption.crypto | |
| cz.d1x.dxcrypto.encryption.io | |
| cz.d1x.dxcrypto.encryption.key |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GenericEncryptionAlgorithm.decrypt(byte[] input) |
byte[] |
EncryptionAlgorithm.decrypt(byte[] input)
Decrypts specified array of bytes.
|
byte[] |
EncryptionEngine.decrypt(byte[] input,
byte[] initVector)
Decrypts given input using given initialization vector (if needed)
|
InputStream |
StreamingEncryptionAlgorithm.decrypt(InputStream input)
Decrypts specified
InputStream. |
InputStream |
StreamingEncryptionEngine.decrypt(InputStream input,
byte[] initVector)
Decrypts given
InputStream and using given initialization vector (if needed). |
OutputStream |
StreamingEncryptionAlgorithm.decrypt(OutputStream output)
Decrypts specified
OutputStream. |
OutputStream |
StreamingEncryptionEngine.decrypt(OutputStream output,
byte[] initVector)
Decrypts given
OutputStream and using given initialization vector (if needed). |
String |
GenericEncryptionAlgorithm.decrypt(String input) |
String |
EncryptionAlgorithm.decrypt(String input)
Decrypts specified input text using default UTF-8 encoding.
|
byte[] |
GenericEncryptionAlgorithm.encrypt(byte[] input) |
byte[] |
EncryptionAlgorithm.encrypt(byte[] input)
Encrypts specified array of bytes.
|
byte[] |
EncryptionEngine.encrypt(byte[] input,
byte[] initVector)
Encrypts given input and using given initialization vector (if needed).
|
InputStream |
StreamingEncryptionAlgorithm.encrypt(InputStream input)
Encrypts specified
InputStream. |
InputStream |
StreamingEncryptionEngine.encrypt(InputStream input,
byte[] initVector)
Encrypts given
InputStream and using given initialization vector (if needed). |
OutputStream |
StreamingEncryptionAlgorithm.encrypt(OutputStream output)
Encrypts specified
OutputStream. |
OutputStream |
StreamingEncryptionEngine.encrypt(OutputStream output,
byte[] initVector)
Encrypts given
OutputStream and using given initialization vector (if needed). |
String |
GenericEncryptionAlgorithm.encrypt(String input) |
String |
EncryptionAlgorithm.encrypt(String input)
Encrypts specified input text.
|
| Constructor and Description |
|---|
GenericEncryptionAlgorithm(EncryptionEngine engine,
BytesRepresentation bytesRepresentation,
String encoding)
Creates a new instance of generic algorithm that does NOT use initialization vector.
|
RSAKeysGenerator(int keySize)
Creates a new generator of RSA keys with given key size.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
CryptoAsymmetricEngine.decrypt(byte[] input,
byte[] initVector) |
OutputStream |
CryptoSymmetricEngine.decrypt(OutputStream output,
byte[] initVector) |
byte[] |
CryptoAsymmetricEngine.encrypt(byte[] input,
byte[] initVector) |
byte[] |
CryptoSymmetricEngine.encrypt(byte[] input,
byte[] initVector) |
InputStream |
CryptoSymmetricEngine.encrypt(InputStream input,
byte[] initVector) |
| Constructor and Description |
|---|
CryptoSymmetricEngine(String cipherName,
byte[] key) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
IvStreamHelper.extractIv(InputStream input) |
| Modifier and Type | Method and Description |
|---|---|
K |
EncryptionKeyFactory.newKey(KP keyParams)
Creates a new key.
|
Copyright © 2019. All rights reserved.