md5sum in different linux

something strange is that i find the md5sum command in different linux generate different result, for example, i have tried the same file in CentOS and Rhel, The md5 results are different, it is quite headache, who know the tricks?

Do you really need to use md5?

Try openssl and see if you still face the difference:

openssl dgst -sha1 <file>

I think it's way more likely your file got mangled. How did you copy it from one server to the other?

md5 has always been the same everywhere I've gone, between several different linux distributions, several different architectures running linux, inside a database system, and on a few non-linux systems too.

Are you checksumming the same file? How did you transfer it between the systems?