obfuscate

Syntax

%obfuscate(string)

Description

Provides a simple interface for some basic two-way encryption. Provide a string to %obfuscate and you get back gobbledygook. Provide the gobbledygook to %deobfuscate, and you get your string back. Simple as that.

If you want to change the encryption key, set %obfuscate-key% to the new key before calling %obfuscate(). Make sure you set %obfuscate-key% to the same key when you want to %deobfuscate()!

For more flexible encryption, use %encrypt and %decrypt.

Example

%obfuscate(hello)
NPMfe4hcQag=
%deobfuscate(NPMfe4hcQag=)
hello
%set(obfuscate-key,hello)
%obfuscate(hello)
6cRB5XWpA/E=
%deobfuscate(6cRB5XWpA/E=)
hello

See Also

encrypt | decrypt | deobfuscate