$encrypt » History » Revision 5
Revision 4 (Per Amundsen, 10/28/2018 10:03 PM) → Revision 5/10 (Per Amundsen, 11/01/2018 12:17 AM)
_Added in 1.9.0_
*$encrypt(text, password)*
Encrypts a blowfish text using the "fish10":https://syndicode.org/fish_10/ format using a password.
_ECB 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>