Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trycf/7c0aac7442d0104972425770a1f7b618 to your computer and use it in GitHub Desktop.
Save trycf/7c0aac7442d0104972425770a1f7b618 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
password = "mypassword";
key = "GHIJKLMNOPQR!/$test";
encrypted = encrypt(password, key);
decrypted = decrypt(encrypted, "KLMN");
dump(encrypted);
dump(decrypted);
//GHIJKLMNOPQR
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment