31 [[nodiscard]] std::string
toString()
const;
33 std::array<uint64_t, 3>
h64;
34 std::array<uint8_t, 24>
h8;
45void tiger(std::span<const uint8_t> input, TigerHash& result);
52void tiger_int(
const TigerHash& h0,
const TigerHash& h1, TigerHash& result);
62void tiger_leaf(std::span</*const*/uint8_t> data, TigerHash& result);
This file implemented 3 utility functions:
void tiger(std::span< const uint8_t > input, TigerHash &result)
Generic function to calculate a tiger-hash.
void tiger_int(const TigerHash &h0, const TigerHash &h1, TigerHash &result)
Use for tiger-tree internal node hash calculations.
void tiger_leaf(std::span< uint8_t > data, TigerHash &result)
Use for tiger-tree leaf node hash calculations.
This struct represents the result of a tiger-hash.
std::array< uint64_t, 3 > h64
std::array< uint8_t, 24 > h8
std::string toString() const