MD5 hash calculates differently on server

前端 未结 5 1989
一个人的身影
一个人的身影 2020-12-16 19:24

I am running some code that I have written in C which calls the md5 hashing functionality from a hashing library that someone else wrote (md5.c & md5.h). The odd behavi

5条回答
  •  忘掉有多难
    2020-12-16 20:26

    Is the machine that seems to not be working a different architecture (32-bit vs. 64-bit) than the others? If the MD5 implementation is dependent on machine word size (I haven't checked the code), this can cause the hash to be different.

提交回复
热议问题