21 #define MD5_BLOCK_LENGTH 64 22 #define MD5_DIGEST_LENGTH 16 27 uint8_t buffer[MD5_BLOCK_LENGTH];
31 void MD5Update(
MD5_CTX *,
const void *,
size_t);
32 void MD5Final(uint8_t [MD5_DIGEST_LENGTH],
MD5_CTX *);
33 void MD5Transform(uint32_t [4],
const uint8_t [MD5_BLOCK_LENGTH]);
37 extern void MD5Final(std::string& digest,
MD5_CTX *);
38 extern std::string& MD5String(
const std::string& data, std::string& digest);
39 extern std::string& MD5HexPrint(
const std::string& digest, std::string& out);
40 extern std::string& MD5HexScan(
const std::string& xdigest, std::string& digest);