12 std::vector<uint8_t> encode(
const uint8_t* _data, int32_t _len);
13 inline std::vector<uint8_t> encode(
const std::vector<uint8_t>& _data) {
14 return algue::sha512::encode(&_data[0], _data.size());
16 inline std::vector<uint8_t> encode(
const std::string& _data) {
17 return algue::sha512::encode(reinterpret_cast<const uint8_t*>(&_data[0]), _data.size());
Basic Algue library namespace.
Definition: base64.hpp:10