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

Function Documentation#

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

Retrieve the SHA2 512 hash of the given data.

Parameters:
  • data – Data to get hash from.

  • length – Length of the data in bytes.

Returns:

SHA2 512 hash of input.