Class in Yarn.Utility
Inherits from System.Object
Provides a method for generating CRC32 hashes of strings.
Computes a CRC32 checksum from the given bytes.
Computes a CRC32 checksum from the given string.
Gets the CRC-32 hash of s as a string containing 8 lowercase hexadecimal characters.
Method in CRC32
Computes a CRC32 checksum from the given bytes.
byte[] bytes
The bytes to generate a checksum for.
A CRC32 checksum derived from bytes .
Method in CRC32
Computes a CRC32 checksum from the given string.
This method converts the string to a UTF-8 encoding, and then computes a CRC32 checksum from those bytes.
string s
The string to generate a checksum for.
A CRC32 checksum derived from s .
Method in CRC32
Gets the CRC-32 hash of s as a string containing 8 lowercase hexadecimal characters.
This method converts the string to a UTF-8 encoding, and then computes a CRC32 checksum from those bytes.
string s
The string to get the checksum of.
The string containing the checksum.
public static class CRC32public static uint GetChecksum(byte[] bytes)public static uint GetChecksum(string s)public static string GetChecksumString(string s)