View Decrypted String

Outputs a decrypted string using CodeIgniter’s Encrypt class. You must create the encrypted string by using view_encrypted_string.

Table of Contents

Parameters

string

This is the text you want decrypted (many times the content of an encrypted URL).

string="{segment_3}"
key

This is the key that will be required to decrypt the string. It’s important to note that you must use the same key that was used to encrypt the string using view_encrypted_string.

key="10510158102"

Examples

{exp:cartthrob:view_decrypted_string string="{segment_3}" key="10asl15bajkls8bb"}