public final class EncryptionUtils
extends java.lang.Object
| Constructor and Description |
|---|
EncryptionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
base64decode(java.lang.String text)
Returns text decoded with base64.
|
static java.lang.String |
base64encode(java.lang.String text)
Returns text encoded with base64.
|
static java.lang.String |
decrypt(java.lang.String text)
Returns text decoded using base64 and decrypted through xor.
|
static java.lang.String |
encrypt(java.lang.String text)
Returns text enrypted through xor and encoded using base64.
|
static java.lang.String |
xorText(java.lang.String text)
Returns text encrypted using xor.
|
public static java.lang.String encrypt(java.lang.String text)
text - text to encryptpublic static java.lang.String decrypt(java.lang.String text)
text - text to decryptpublic static java.lang.String xorText(java.lang.String text)
text - to encryptpublic static java.lang.String base64encode(java.lang.String text)
text - text to encodepublic static java.lang.String base64decode(java.lang.String text)
text - text to decoded