Template Function TRAP::Utils::Hash::ConvertHashToString#

Function Documentation#

template<usize N>
constexpr std::string TRAP::Utils::Hash::ConvertHashToString(const std::array<u8, N> &hash)#

Convert a hash(fixed-size array of bytes) into a string representation.

Parameters:

hash – N-sized array of bytes.

Returns:

String representation of given hash.