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

Function Documentation#

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

Retrieve the SHA3 256 hash of the given data.

Parameters:
  • data – Data to get hash from.

  • length – Length of the data in bytes.

Returns:

SHA3 256 hash of input.