57sha3(std::string
const& _input)
73sha3(std::string
const& _input,
bool _isNibbles)
A modifiable reference to an existing object or vector in memory.
bool sha3(bytesConstRef _input, bytesRef o_output)
Calculate SHA3-256 hash of the given input and load it into the given output.
vector_ref< uint8_t const > bytesConstRef
vector_ref< uint8_t > bytesRef
std::vector< uint8_t > bytes
bytes fromHex(std::string const &_s, WhenError _throw=WhenError::DontThrow)
std::string asString(bytes const &_b)
Converts byte array to a string containing the same (binary) data.
bytes asBytes(std::string const &_b)
Converts a string to a byte array containing the string's (byte) data.