$decrypt » History » Revision 8
Revision 7 (Per Amundsen, 11/01/2018 12:18 AM) → Revision 8/9 (Per Amundsen, 12/03/2018 03:57 AM)
_Added in 1.9.0_
*$decrypt(text, password)*
*Deprecated, consider using the "blowfish plugin":https://dev.adiirc.com/projects/adiirc/wiki/Blowfish. instead*
Decrypts a blowfish text using the "fish10":https://syndicode.org/fish_10/ format, encrypted with password.
_ECB mode only._
_See also [[$encrypt]]._
*Parameters*
text - Text to decrypt.
password - Password to decrypt 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>