Project

General

Profile

$encrypt » History » Revision 4

Revision 3 (Per Amundsen, 09/06/2016 02:05 AM) → Revision 4/10 (Per Amundsen, 10/28/2018 10:03 PM)

_Added in 1.9.0_ 

 *$encrypt(text, password)* 

 Encrypts a blowfish text using a password. 

 _ECB _EBC 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>