Garry's Mod Wiki

util.SHA256

  string util.SHA256( string stringToHash )

Description

Generates the SHA-256 hash of the specified string.

Arguments

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

Returns

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