$encrypt » History » Revision 6
Revision 5 (Per Amundsen, 11/01/2018 12:17 AM) → Revision 6/10 (Per Amundsen, 12/03/2018 03:46 AM)
_Added in 1.9.0_
*$encrypt(text, password)*
*Is not secure and is disabled in AdiIRC 3.3+*
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>