Project

General

Profile

$md5 » History » Revision 2

Revision 1 (Per Amundsen, 08/08/2015 06:01 AM) → Revision 2/5 (Per Amundsen, 08/10/2015 09:11 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] N - The type to calculate N = 0 for plain text (default), 1 for &binvar, 2 for filename (optinal, 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>