News for hackers. Stuff that matters.
Re:String.hashCode() is plenty unique by cm2187 on Saturday August 11, 2018 @06:54AM (#17739189)
I think you are assuming it has a perfectly uniform distribution.
Re:String.hashCode() is plenty unique by dmurray on Saturday August 11, 2018 @08:06AM (#17739366)
Yes, that's what I meant by saying sha256 is at least "pretty good" as a hash function. Which is not at all proven, but one of the reasons sha256 is popular is that it looks like it should be close to uniform.