开发者

How does the MD5 function work?

开发者 https://www.devze.com 2023-04-08 10:11 出处:网络
I\'d like to implent a function for SuperFastHash that is compatible so openssl\'s MD5 function. MD5 is declared in md5.h as:

I'd like to implent a function for SuperFastHash that is compatible so openssl's MD5 function. MD5 is declared in md5.h as:

unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md);

But I can't find it's definition in the headers and the sourcecode.

So how does it work exactly? The function not the algorithm开发者_StackOverflow社区.


https://www.rfc-editor.org/rfc/rfc1321


In addition to the answer that was given you, I'd like to point out that openssl implementation if md5 can be found in openssl tarball that is available from here http://www.openssl.org/source/

You are after crypto\md5\asm folder inside it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号