Garry's Mod Wiki

util.CRC

string util.CRC( string stringToHash )

Description

Generates the CRC Checksum of the specified string.

Arguments

1 string stringToHash
The string to calculate the checksum of.

Returns

1 string
The unsigned 32 bit checksum.

Example

Prints out the CRC-32 checksum of "a".

print( util.CRC( "a" ))
Output: 3904355907

Page Links


Special Pages


Wikis

?

Render Time: 35ms

DB GetPage 5
Generate Html 4
SaveChanges (1) 11
Render Body 0
Render Sidebar 13