libmd5地址:https://sourceforge.net/projects/libmd5-rfc/
MD5Demo1.c
#include <stdio.h> #include <string.h> #include "md5/md5.h" int main() { const md5_byte_t *data = "All is well!"; md5_byte_t digest[16]; md5_state_t md5StateT; md5_init(&md5StateT); md5_append(&md5StateT, data, strlen(data)); md5_finish(&md5StateT, digest); char md5String[33] = { '