Garry's Mod Wiki

util.MD5

  string util.MD5( string stringToHash )

Description

Generates the MD5 hash of the specified string.

MD5 is considered cryptographically broken and is known to be vulnerable to a variety of attacks including duplicate return values. If security or duplicate returns is a concern, use util.SHA256.

Arguments

1 string stringToHash
The string to calculate the MD5 hash of.

Returns

1 string
The MD5 hash of the string in hexadecimal form.