public class PBEManager extends CryptManager
This encryption algorithm needs a seed (salt) and an iteration counter (iteration count) that allow to encrypt/decrypt the given object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
LOGGER
Log
|
| Constructor and Description |
|---|
PBEManager() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
decrypt(java.lang.String str)
Decrypt the given string
|
java.lang.String |
encrypt(java.lang.String str)
Encrypt the given string
|
void |
initialize()
Initializes the manager
|
mainpublic void initialize()
initialize in class CryptManagerpublic java.lang.String encrypt(java.lang.String str)
throws java.lang.Exception
encrypt in class CryptManagerstr - String to encryptjava.lang.Exceptionpublic java.lang.String decrypt(java.lang.String str)
throws java.lang.Exception
decrypt in class CryptManagerstr - String to decryptjava.lang.Exception