Re: Shorter checksum than MD5
From: Paul Rubin (//phr.cx_at_NOSPAM.invalid)
Date: 09/10/04
- Next message: Alexandre Fayolle: "Re: Is except: ... pass bad style?"
- Previous message: Eric Brunel: "Re: Changing state of buttons."
- Maybe in reply to: Mercuro: "Shorter checksum than MD5"
- Next in thread: Tim Peters: "Re: Shorter checksum than MD5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 10 Sep 2004 00:48:17 -0700
danb_83@yahoo.com (Dan Bishop) writes:
> > Where are the updates coming from? Note that if you use a 32-bit
> > checksum, with 100000 records you will probably have some records with
> > the same checksum by accident.
>
> Only if you use a checksum algorithm with really bad clustering problems.
>
> If all 2**32 checksums are equally likely, the probability of a
> collision is only about 0.0000232828.
That's incorrect, the probability is much higher. It's more like 0.7.
If you have 30 people in a room, do you know how to find the
probability that some two have the same birthday?
- Next message: Alexandre Fayolle: "Re: Is except: ... pass bad style?"
- Previous message: Eric Brunel: "Re: Changing state of buttons."
- Maybe in reply to: Mercuro: "Shorter checksum than MD5"
- Next in thread: Tim Peters: "Re: Shorter checksum than MD5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]