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

Method HexFinal

crypto/hash/sha1.cpp:237–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237std::string SHA1::HexFinal() {
238 uint8_t digest[20];
239 Final(&digest);
240 return Hex::EncodeAsString(digest, 20);
241}
242
243std::string SHA1::HexDigest(StringPiece sp) {
244 SHA1 sha1;

Callers 1

HexDigestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected