Decrypt - Documentation topics on: decrypt,deprecated,email,macros,strings,.

Decrypt
Deprecated

** This macro has been deprecated **

This macro allows you to decrypt a string that was encrypted with #encrypt. The decrypted value is saved in the variable: $decryptedStr. If you want to echo out the decrypted value use: $crypt.decrypt('string to decrypt').

Macro Overview:

Syntax:

#decrypt('string to decrypt')

Arguments:

  • string to decrypt
    This is the string that will be decrypted.

Optional Parameters:


Usage:


Examples:

Example 1: A simple example using the required fields

#encrypt('website@dotcms.org')
#decrypt($encryptedStr)
This is the decrypted value = $decryptedStr