$encrypt » History » Revision 3
Revision 2 (Per Amundsen, 08/12/2015 06:45 PM) → Revision 3/10 (Per Amundsen, 09/06/2016 02:05 AM)
_Added in 1.9.0_
*$encrypt(text, password)*
Encrypts a blowfish text using a password.
_EBC mode only._
_See also [[$decrypt]]._
*Parameters*
text - Text to encrypt.
password - Password to encrypt with.
*Example*
<pre>
; Create a variable and encrypt text "Hello World" with password "test".
var %text $encrypt(Hello World, test)
; Decrypt the text and print it.
echo -ag $decrypt(%text, test)
</pre>