StringEncrypter se = new StringEncrypter("mypass"); String decryptedString = se.decrypt(encryptedString);
@Override public StringEncrypter getEncrypter() { // lazy init, it's not required for all pages if (encrypter == null) { // we can't store it in the ApplicationMap, as Cipher isn't thread safe encrypter = new StringEncrypter(getApplicationContext().getConfig().getSecretKey()); } return encrypter; }