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

Function Documentation#

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

Retrieve the Adler32 checksum of the given data.

Parameters:
  • data – Data to get checksum from.

  • length – Length of the data in bytes.

Returns:

Adler32 checksum of input.