MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / get_hash_hex_string

Function get_hash_hex_string

src/pull/picosha2.h:285–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283};
284
285inline void get_hash_hex_string(const hash256_one_by_one& hasher,
286 std::string& hex_str) {
287 byte_t hash[k_digest_size];
288 hasher.get_hash_bytes(hash, hash + k_digest_size);
289 return bytes_to_hex_string(hash, hash + k_digest_size, hex_str);
290}
291
292inline std::string get_hash_hex_string(const hash256_one_by_one& hasher) {
293 std::string hex_str;

Callers

nothing calls this directly

Calls 2

bytes_to_hex_stringFunction · 0.85
get_hash_bytesMethod · 0.80

Tested by

no test coverage detected