MCPcopy Create free account
hub / github.com/catboost/catboost / End_b64

Method End_b64

library/cpp/digest/md5/md5.cpp:192–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192char* MD5::End_b64(char* buf) {
193 ui8 digest[16];
194 if (!buf)
195 buf = (char*)malloc(25);
196 if (!buf)
197 return nullptr;
198 Final(digest);
199 Base64Encode(buf, digest, 16);
200 buf[24] = '\0';
201 return buf;
202}
203
204ui64 MD5::EndHalfMix() {
205 ui8 digest[16];

Callers

nothing calls this directly

Calls 2

mallocFunction · 0.50
Base64EncodeFunction · 0.50

Tested by

no test coverage detected