Project

General

Profile

$md5 » History » Version 4

Per Amundsen, 08/10/2015 09:12 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$md5(text|&binvar|filename,[N])*
4
5
Returns a md5 hash value for the specified data.
6
7
*Parameters*
8
9
text|&binvar|filename - The text or &binvar or filename to calculate.
10 4 Per Amundsen
[N] - The type to calculate N = 0 for plain text (default), 1 for &binvar, 2 for filename (optional)
11 1 Per Amundsen
12
*Example*
13
14
<pre>
15
; calculate a md5 hash of the text 'Hello World'
16
//echo -ag The MD5 hash for Hello World is $md5(Hello World)
17
18
; calculate a md5 hash of AdiIRC.exe'
19
//echo -ag The MD5 hash for AdiIRC.exe is $md5($adiircexe, 2)
20
</pre>
21