util.CRC

From Garry's Mod
Jump to: navigation, search
 util.CRC( )

Contents

Description

Generates the CRC checksum of the specified string.

Arguments

string stringToHash

The string to calculate the checksum of.

Returns

string

The unsigned 32 bit checksum.

Examples

Example

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

print( util.CRC( "a" ))

Output:

3904355907
Personal tools
Navigation