public class StringEncrypter extends Object implements IEncrypter<String>
String objects| Modifier and Type | Method and Description |
|---|---|
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 |
public static StringEncrypter getEncrypter()
Stringpublic String encrypt(String string, Key... key) throws Exception
encrypt in interface IEncrypter<String>key - the key for encryptingstring - the object to encryptExceptionCopyright © 2017. All Rights Reserved.