| Package | Description |
|---|---|
| cz.d1x.dxcrypto.encryption | |
| cz.d1x.dxcrypto.encryption.crypto |
| Modifier and Type | Method and Description |
|---|---|
SymmetricEncryptionEngineFactory<ByteArray> |
EncryptionFactories.aes()
Creates a new engine factory for AES (128 bits).
|
SymmetricEncryptionEngineFactory<ByteArray> |
EncryptionFactories.aes256()
Creates a new engine factory for AES (256 bits).
|
EncryptionKeyFactory<ByteArray,DerivedKeyParams> |
EncryptionFactories.derivedKeyFactory()
Creates a new key factory for derived keys (typically by hash function).
|
SymmetricEncryptionEngineFactory<ByteArray> |
EncryptionFactories.tripleDes()
Creates a new engine factory for Triple DES.
|
| Modifier and Type | Method and Description |
|---|---|
SymmetricAlgorithmBuilder |
SymmetricAlgorithmBuilder.engineFactory(SymmetricEncryptionEngineFactory<ByteArray> engineFactory)
Sets factory for encryption engine.
|
SymmetricAlgorithmBuilder |
SymmetricAlgorithmBuilder.keyFactory(EncryptionKeyFactory<ByteArray,DerivedKeyParams> keyFactory)
Sets a custom key factory.
|
| Constructor and Description |
|---|
SymmetricAlgorithmBuilder(EncryptionFactories factories,
SymmetricEncryptionEngineFactory<ByteArray> engineFactory,
int keySize,
int blockSize)
Creates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
ByteArray |
CryptoPBKDF2KeyFactory.newKey(DerivedKeyParams keyParams) |
| Modifier and Type | Method and Description |
|---|---|
SymmetricEncryptionEngineFactory<ByteArray> |
CryptoFactories.aes() |
SymmetricEncryptionEngineFactory<ByteArray> |
CryptoFactories.aes256() |
EncryptionKeyFactory<ByteArray,DerivedKeyParams> |
CryptoFactories.derivedKeyFactory() |
SymmetricEncryptionEngineFactory<ByteArray> |
CryptoFactories.tripleDes() |
| Modifier and Type | Method and Description |
|---|---|
EncryptionEngine |
CryptoSymmetricEngineFactory.newEngine(ByteArray key) |
Copyright © 2019. All rights reserved.