• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Fast hash of NSData?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fast hash of NSData?


  • Subject: Re: Fast hash of NSData?
  • From: ChanMaxthon <email@hidden>
  • Date: Mon, 02 Dec 2013 22:25:30 +0800

What is wrong with a good ol' SHA-512?

Sent from my iPhone

> On 2013年12月2日, at 21:50, "Gerriet M. Denkmann" <email@hidden> wrote:
>
> Assuming that a typical image has 243.3 k Bytes, or 1 993 221 bits. And that a hash has 64 bits.
>
> Then there are 2^1 993 221 different images, and 2^64 hash values.
> One hash value is thus shared on average by 2^1 993 157 images. =  (2^10)^199 315.7 = 10^600 000
>
> So it does not look so very unlikely that two different images might share a hash value.
>
> Or did I make some mistake?
>
> Gerriet.
>
>
> _______________________________________________
>
> 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

_______________________________________________

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


  • Follow-Ups:
    • Re: Fast hash of NSData?
      • From: Roland King <email@hidden>
    • Re: Fast hash of NSData?
      • From: Graham Cox <email@hidden>
References: 
 >Re: Fast hash of NSData? (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Fast hash of NSData?
  • Next by Date: Re: Fast hash of NSData?
  • Previous by thread: Re: Fast hash of NSData?
  • Next by thread: Re: Fast hash of NSData?
  • Index(es):
    • Date
    • Thread