public class EncryptionAlgorithms extends Object
EncryptionAlgorithmBuilder.build()
to retrieve EncryptionAlgorithm instance.| Constructor and Description |
|---|
EncryptionAlgorithms() |
| Modifier and Type | Method and Description |
|---|---|
static AESBuilder |
aes(byte[] keyPassword)
Creates a new builder for AES encryption algorithm.
|
static AESBuilder |
aes(CryptoKeyFactory customKeyFactory)
Crates a new builder for AES encryption algorithm.
|
static AESBuilder |
aes(String keyPassword)
Creates a new builder for AES encryption algorithm.
|
static RSABuilder |
rsa()
Creates a new builder for RSA encryption algorithm.
|
static TripleDESBuilder |
tripleDes(byte[] keyPassword)
Creates a new builder for 3DES encryption algorithm.
|
static TripleDESBuilder |
tripleDes(CryptoKeyFactory customKeyFactory)
Crates a new builder for 3DES encryption algorithm.
|
static TripleDESBuilder |
tripleDes(String keyPassword)
Creates a new builder for 3DES encryption algorithm.
|
public static AESBuilder aes(byte[] keyPassword)
keyPassword - password for key derivationpublic static AESBuilder aes(String keyPassword)
keyPassword - password for key derivationpublic static AESBuilder aes(CryptoKeyFactory customKeyFactory)
customKeyFactory - custom factory for encryption keypublic static TripleDESBuilder tripleDes(byte[] keyPassword)
keyPassword - password for key derivationpublic static TripleDESBuilder tripleDes(String keyPassword)
keyPassword - password for key derivationpublic static TripleDESBuilder tripleDes(CryptoKeyFactory customKeyFactory)
customKeyFactory - custom factory for encryption keypublic static RSABuilder rsa()
Copyright © 2014. All rights reserved.