29 [[nodiscard]] std::string
toString()
const;
43 void tiger(
const uint8_t* str,
size_t length, TigerHash& result);
50 void tiger_int(
const TigerHash& h0,
const TigerHash& h1, TigerHash& result);
60 void tiger_leaf( uint8_t data[1024], TigerHash& result);
T length(const vecN< N, T > &x)
This file implemented 3 utility functions:
void tiger(const uint8_t *str, size_t length, 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(uint8_t data[1024], TigerHash &result)
Use for tiger-tree leaf node hash calculations.
This struct represents the result of a tiger-hash.
std::string toString() const