Project

General

Profile

$decrypt » History » Revision 7

Revision 6 (Per Amundsen, 10/28/2018 10:03 PM) → Revision 7/9 (Per Amundsen, 11/01/2018 12:18 AM)

_Added in 1.9.0_ 

 *$decrypt(text, password)* 

 Decrypts a blowfish text using the "fish10":https://syndicode.org/fish_10/ format, text, 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>