code: public String decrypt(String encrypted) throws Exception {
  
          byte[] decodedValue = Base64Coder.decode(encrypted.toCharArray());
  
          Cipher c = getCipher(Cipher.DECRYPT_MODE);
          byte[] decValue = c.doFinal(decodedValue);
  
          return new String(decValue);
      }
docs: Decrypt.
  
  @param encrypted
  the encrypted
  @return the string
  @throws Exception
  the exception