|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.utils.EncryptionUtils
public final class EncryptionUtils
This class provides a set of utilities to encode and decode data.
Constructor Summary | |
---|---|
EncryptionUtils()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptionUtils()
Method Detail |
---|
public static java.lang.String encrypt(java.lang.String text)
text
- text to encrypt
public static java.lang.String decrypt(java.lang.String text)
text
- text to decrypt
public static java.lang.String xorText(java.lang.String text)
text
- to encrypt
public static java.lang.String base64encode(java.lang.String text)
text
- text to encode
public static java.lang.String base64decode(java.lang.String text)
text
- text to decoded
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |