Difference between revisions of "$md5"

From Scriptwiki
Jump to: navigation, search
 
m
Line 12: Line 12:
 
== See Also ==
 
== See Also ==
 
* [[$sha1]]
 
* [[$sha1]]
 +
 +
[[Category:Other Identifiers]]

Revision as of 22:27, 12 April 2008

Returns md5 hash value for the specified data, where N = 0 for plain text (default), 1 for &binvar, 2 for filename.

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

Example

$md5(text string)

Returns the md5 hash value of text string (a278c7ab35780d23f34c75dd23278b4b)

//bset -t &bvar 1 text string | echo -ag $md5(&bvar,1)

Echoes the same as the last value, this time using a binary variable.

$md5(mirc.ini,2)

Returns the MD5 hash value of the file mirc.ini.

See Also