Project

General

Profile

$decrypt » History » Version 8

Per Amundsen, 12/03/2018 03:57 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$decrypt(text, password)*
4
5 8 Per Amundsen
*Deprecated, consider using the "blowfish plugin":https://dev.adiirc.com/projects/adiirc/wiki/Blowfish. instead*
6
7 7 Per Amundsen
Decrypts a blowfish text using the "fish10":https://syndicode.org/fish_10/ format, encrypted with password.
8 1 Per Amundsen
9 6 Per Amundsen
_ECB mode only._
10 4 Per Amundsen
11 5 Per Amundsen
_See also [[$encrypt]]._
12 4 Per Amundsen
13 1 Per Amundsen
*Parameters*
14
15
text - Text to decrypt.
16
password - Password to decrypt with.
17
18
*Example*
19
20
<pre>
21 3 Per Amundsen
; Create a variable and encrypt text "Hello World" with password "test".
22 1 Per Amundsen
var %text $encrypt(Hello World, test)
23
24 3 Per Amundsen
; Decrypt the text and print it.
25 2 Per Amundsen
echo -ag $decrypt(%text, test)
26 1 Per Amundsen
</pre>