Garry's Mod Wiki

Garry's Mod Wiki

  string util.SHA1( string stringToHash )

Description

Generates the SHA-1 hash of the specified string.

SHA-1 is considered cryptographically broken and is known to be vulnerable to a variety of attacks. If security is a concern, use util.SHA256.

Arguments

1 string stringToHash
The string to calculate the SHA-1 hash of.

Returns

1 string
The SHA-1 hash of the string in hexadecimal form.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...