MCPcopy Create free account
hub / github.com/DFHack/dfhack / compute_hash

Function compute_hash

library/binpatch.cpp:228–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228std::string compute_hash(const std::vector<patch_byte> &pvec)
229{
230 md5wrapper md5;
231 return md5.getHashFromBytes(pvec.data(), pvec.size());
232}
233
234int main (int argc, char *argv[])
235{

Callers 1

mainFunction · 0.85

Calls 3

getHashFromBytesMethod · 0.80
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected