本文介绍了C#中跨平台散列函数的实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Heya聪明的朋友,



我注意到.NET哈希函数可以在不同的机器上产生不同的值。

我需要哈希函数(对于字符串)将产生相同的值,无论它是什么平台,是否赢得xp,vista,7,8,服务器2k3,2k8等

AND无论是32还是32 bit或64 bit(据我的理解在哈希实现中有很大的不同)。



任何人?

Heya smart friends,

I noticed that .NET hash function can produce different values on different machines.
I need a hash function (for strings) that will produce the same value, no matter what platform it is on, whether it's win xp, vista, 7, 8, server 2k3, 2k8 etc
AND no matter if it's 32 bit or 64 bit (which to my understanding makes a big difference in the hash implementation).

Anyone?

推荐答案



这篇关于C#中跨平台散列函数的实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 03:07
查看更多