Function TRAP::Utils::Hash::CRC32(const void *, u64)#

Function Documentation#

std::array<u8, 4> TRAP::Utils::Hash::CRC32(const void *data, u64 length)#

Retrieve the CRC32 hash of the given data.

Parameters:
  • data – Data to get hash from.

  • length – Length of the data in bytes.

Returns:

CRC32 hash of input.