code: public static String decrypt(String input, String key, String algorithm, byte[] ivOrSalt, int iterations, String encoding, String charset) throws PageException {
  
  	try {
  
  	    if (charset == null) charset = DEFAULT_CHARSET;
  	    if (encoding == null) encoding = DEFAULT_ENCODING;
  
  	    byte[] baInput = Coder.decode(encoding, input);
  	    byte[] decrypted = decrypt(baInput, key, algorithm, ivOrSalt, iterations);
  
  	    return new String(decrypted, charset);
  	}
  	catch (Throwable t) {
  	    ExceptionUtil.rethrowIfNecessary(t);
  	    throw Caster.toPageException(t);
  	}
      }
docs: a decrypt method that takes an encrypted, encoded, String for input and returns a clear-text
  String