Project

General

Profile

$md5 » History » Revision 4

Revision 3 (Per Amundsen, 08/10/2015 09:11 AM) → Revision 4/5 (Per Amundsen, 08/10/2015 09:12 AM)

_Added in 1.9.0_ 

 *$md5(text|&binvar|filename,[N])* 

 Returns a md5 hash value for the specified data. 

 *Parameters* 

 text|&binvar|filename - The text or &binvar or filename to calculate. 
 [N] - The type to calculate N = 0 for plain text (default), 1 for &binvar, 2 for filename (optional) (optional, default is 0) 

 *Example* 

 <pre> 
 ; calculate a md5 hash of the text 'Hello World' 
 //echo -ag The MD5 hash for Hello World is $md5(Hello World) 

 ; calculate a md5 hash of AdiIRC.exe' 
 //echo -ag The MD5 hash for AdiIRC.exe is $md5($adiircexe, 2) 
 </pre>