/ Published in: ColdFusion
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!--- Will encrypt ---> <Cfset encryptedVar = ToBase64(Encrypt('Chris', 'Thekey')) > <!--- And to decrypt ---> <Cfset decryptedvar = decrypt(toString(toBinary(encryptedVar)), 'Thekey')