$decrypt » History » Version 2
Per Amundsen, 07/20/2014 08:29 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$decrypt(text, password)* |
||
4 | |||
5 | Decrypts a blowfish text, encrypted with password. |
||
6 | |||
7 | *Parameters* |
||
8 | |||
9 | text - Text to decrypt. |
||
10 | password - Password to decrypt with. |
||
11 | |||
12 | *Example* |
||
13 | |||
14 | <pre> |
||
15 | ;Create a variable and encrypt text "Hello World" with password "test". |
||
16 | var %text $encrypt(Hello World, test) |
||
17 | |||
18 | ;Decrypt the text and print it. |
||
19 | 2 | Per Amundsen | echo -ag $decrypt(%text, test) |
20 | 1 | Per Amundsen | </pre> |