public class PBKDF2Encryptor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected javax.crypto.Cipher |
dcipher |
protected javax.crypto.Cipher |
ecipher |
protected int |
iterationCount |
Constructor and Description |
---|
PBKDF2Encryptor(java.lang.String passPhrase) |
PBKDF2Encryptor(java.lang.String passPhrase,
byte[] salt,
int iterationCount,
int i1) |
Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(byte[] bytes) |
java.lang.String |
decrypt(java.lang.String str)
Symmetrically decrypts the string.
|
byte[] |
encrypt(byte[] input) |
java.lang.String |
encrypt(java.lang.String str)
Symmetrically encrypts the string.
|
protected final javax.crypto.Cipher ecipher
protected final javax.crypto.Cipher dcipher
protected final int iterationCount
Copyright © 2003-present Jodd Team