Comment on page
hash
The hash library contains various data hash functions
Calculates the CRC32 hash of the bytes inside of a given pattern
pattern
: The pattern to calculate the crc32 hash ofinit
: The CRC32 init valuepoly
: The CRC32 polynomialxorout
: The CRC32 XOR-Out valuereflect_in
: Whether or not the input bytes should be reflectedreflect_out
: Whether or not the output should be reflectedreturn
: Calculated CRC32 hash
fn crc32(auto pattern, u32 init, u32 poly, u32 xorout, bool reflect_in, bool reflect_out);
Last modified 8mo ago