MCPcopy Create free account
hub / github.com/HexHive/NASS / Sha1ToString

Function Sha1ToString

fuzz/libfuzzer/FuzzerSHA1.cpp:211–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211std::string Sha1ToString(const uint8_t Sha1[kSHA1NumBytes]) {
212 std::stringstream SS;
213 for (int i = 0; i < kSHA1NumBytes; i++)
214 SS << std::hex << std::setfill('0') << std::setw(2) << (unsigned)Sha1[i];
215 return SS.str();
216}
217
218std::string Hash(const Unit &U) {
219 uint8_t Hash[kSHA1NumBytes];

Callers 9

HashFunction · 0.70
AddToCorpusMethod · 0.70
PrintCorpusMethod · 0.70
ReplaceMethod · 0.70
PrintStatsMethod · 0.70
DeleteFileMethod · 0.70
DumpCurrentUnitMethod · 0.70
RunOneMethod · 0.70

Calls 1

strMethod · 0.45

Tested by

no test coverage detected