Function TRAP::Utils::Hash::SHA2_512(std::string_view)#

Function Documentation#

std::array<u8, 64> TRAP::Utils::Hash::SHA2_512(std::string_view str)#

Retrieve the SHA2 512 hash of the given string.

Parameters:

str – String to get hash from.

Returns:

SHA2 512 hash of input.