Function lcxx::hash::sha512(std::string const&)

Function Documentation

auto lcxx::hash::sha512(std::string const &input) -> std::pair<sha512_hash_t, error>

calculates a SHA512 hashsum over an input string

Parameters:

input – the string that will be digested

Returns:

sha512_hash_t the SHA512 hash in byte-array form