Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
237
std::string SHA1::HexFinal() {
238
uint8_t digest[20];
239
Final(&digest);
240
return Hex::EncodeAsString(digest, 20);
241
}
242
243
std::string SHA1::HexDigest(StringPiece sp) {
244
SHA1 sha1;
Callers
1
HexDigest
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected