|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gcube.common.utils.encryption.StringEncrypter
public class StringEncrypter
Encrypter for String objects
| Method Summary | |
|---|---|
String |
decrypt(String string,
Key... key)
Decrypts the string with the given key |
String |
encrypt(String string,
Key... key)
Encrypts the string with the given key |
static StringEncrypter |
getEncrypter()
Gets the Encrypter for String |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static StringEncrypter getEncrypter()
String
public String encrypt(String string,
Key... key)
throws Exception
encrypt in interface Encrypter<String>key - the key for encryptingstring - the object to encrypt
Exception
public String decrypt(String string,
Key... key)
throws Exception
decrypt in interface Encrypter<String>key - the key to use for decryptingstring - the object to decrypt
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||