阅读背景:

如何从C#中的字节数组生成哈希码?

来源:互联网 

Say I have an object that stores a byte array and I want to be able to efficiently generate a hashcode for it. I've used the cryptographic hash functions for this in the past because they are easy to implement, but they are doing a lot more work than they should to be cryptographically oneway, and I don't care about that (I'm just using the hashcode as a key into a hashtable).Say I have an object that stores a byte array a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: