text required default (empty)The ciphertext to decrypt - a value previously produced by the encrypt command. If it is not a valid ciphertext (too short, altered, or plain text) the result is an empty string.
key required default (empty)The password/key used to decrypt. It must be exactly the same key that was used to encrypt the text. Any length is accepted (it is normalized to a 32-byte AES key internally). A wrong key yields an empty string.
output_type optional default (empty)Deprecated and ignored. In older AA versions the value url selected a url-safe encoding for the legacy mcrypt format; that format is no longer supported, so this parameter has no effect today.
{decrypt:{encrypt:hello:demokey}:demokey}
[{decrypt:lfNr4o1ve_uXeNj75VUig5zTHwdxyV_5uSCXwyQw:demokey}]
[{decrypt:lfNr4o1ve_uXeNj75VUig5zTHwdxyV_5uSCXwyQw:wrongkey}]
[{decrypt:notacipher:demokey}]
{decrypt:{encrypt:APC-AA news:s3cret-pass}:s3cret-pass}
{decrypt:{token...........}:my-server-key}