Re: Fast hash of NSData?
Re: Fast hash of NSData?
- Subject: Re: Fast hash of NSData?
- From: Kyle Sluder <email@hidden>
- Date: Sun, 01 Dec 2013 10:52:41 -0800
> On Dec 1, 2013, at 10:43 AM, Quincey Morris <email@hidden> wrote:
>
>
> I doubt I can talk you out of it, but the truth is that you — like every one of the rest of us, because we’ve got human brains — are really, really lousy at intuiting about randomness and probabilities. What we *think* isn’t worth the paper our emails are printed on.
In this case, the collision probabilities of SHA-1 are pretty well-known. And unlike other implementations, Graham’s use case isn’t really concerned with malice.
But as a matter of principle, it’s negligent to knowingly design a system that will silently drop user data in normal operation. There are plenty of times you can make a reasonable argument for “that’s good enough,” but as far as I’m concerned, preserving user data is never one of them.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden