public class Encryption
extends java.lang.Object
Constructor and Description |
---|
Encryption(java.lang.String pPassPhrase) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
decrypt(java.lang.String pEncryptedValue)
returns cleartext value, supply result of encrypt method to get original string back.
|
java.lang.String |
encrypt(java.lang.String pValue)
returns encrypted base64 value.
|
static void |
main(java.lang.String[] args) |
public java.lang.String encrypt(java.lang.String pValue)
pValue
- public java.lang.String decrypt(java.lang.String pEncryptedValue)
pEncryptedValue
- public static void main(java.lang.String[] args)