J
Joseph Lee
Dear All,
Is there a function in C# that will hash code a large byte array into an int
value?
I am searching for a hash function that will convert any size data(as for me
the input is a byte array of size 20) to a value range of my choosing.
If there is no such thing, would need some idea how to program this in C#.
In Java a byte array can be dump into a BigInteger object and then reduced
to a smaller value by dividing it. but this is a bad way and it is not like
real hashing...
Thanks
Joey
Is there a function in C# that will hash code a large byte array into an int
value?
I am searching for a hash function that will convert any size data(as for me
the input is a byte array of size 20) to a value range of my choosing.
If there is no such thing, would need some idea how to program this in C#.
In Java a byte array can be dump into a BigInteger object and then reduced
to a smaller value by dividing it. but this is a bad way and it is not like
real hashing...
Thanks
Joey