Garry's Mod Wiki

Revision Difference

util.SHA256#547032

<function name="SHA256" parent="util" type="libraryfunc"> <description>Generates the [SHA-256 Checksum](https://en.wikipedia.org/wiki/SHA-2) of the specified string.</description> <description>Generates the [SHA-256 hash](https://en.wikipedia.org/wiki/SHA-2) of the specified string.</description> <realm>Shared</realm> <added>2021.07.01</added> <args> <arg name="stringToHash" type="string">The string to calculate the checksum of.</arg> <arg name="stringToHash" type="string">The string to calculate the SHA-256 hash of.</arg> </args> <rets> <ret name="" type="string">The SHA-256 hex string of the checksum.</ret> <ret name="" type="string">The SHA-256 hash of the string in hexadecimal form.</ret> </rets> </function>