#include #include #include #include const unsigned char data[] = "1234567890abcdefghijklmnopqrstuvwxyz"; int main(int argc, char **argv) { MD5_CTX ctx; char *ret; MD5Init(&ctx); ret = MD5Data(data, sizeof data - 1, NULL); printf("%s\n", ret); free(ret); }