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

Method getHashFromBytes

depends/md5/md5wrapper.h:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 std::string getHashFromString(std::string text);
54
55 std::string getHashFromBytes(const unsigned char *data, size_t size) {
56 return hashit(const_cast<unsigned char*>(data),size);
57 }
58
59 /*
60 * creates a MD5 hash from

Callers 1

compute_hashFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected