MCPcopy Create free account
hub / github.com/chen3feng/toft / HexDigest

Method HexDigest

crypto/hash/sha1.cpp:243–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243std::string SHA1::HexDigest(StringPiece sp) {
244 SHA1 sha1;
245 sha1.Update(sp);
246 return sha1.HexFinal();
247}
248
249} // namespace toft

Callers

nothing calls this directly

Calls 2

UpdateMethod · 0.45
HexFinalMethod · 0.45

Tested by

no test coverage detected