🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57546

Re: Using Message-ID to store binary file information

#57546
From: Klaas
Date: Fri, 22 Mar 2002 20:27
26 lines
2310 bytes
Joe Newsreader <not@this.address> wrote in message
news:9sdm9u0amph7dp697grabpt68ptk6v4f3i@4ax.com...
> On Fri, 22 Mar 2002 11:50:59 GMT, lordsnow@home.nl (=-lordsnow-=)
wrote:
>
> >I just had a thought:
> >
> >  CRC-32+file-length would distinguish between 2^32 files of
exactly
> >  the same length? (using CRC32 as an example - may as well be
MD5).
>
> I don't think so.  Have you ever heard the old conundrum about
> "if you have 20 people in a room, what are the chances that
> two of them have the same birthday"?  The answer is "over 50%"

Actually, lordsnow is correct in that 32 bits of hash does distinguish
between 2^32 files.  However, each "file" is really an equivalence
class containing all files hashing to the same CRC, which means you
need much fewer than 2^32 files to be over 50% probability of
collision.

-Mike


Technical Details
Message-ID: <a7g42k$l66m6$1@ID-26705.news.dfncis.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!shw50-97.accesscable.NET!not-for-mail
References: <20020320140409.897$WW_-_@newsreader.com> <200320021558402413%planb@newsreaders.com> <20020320174111.780$V8@newsreader.com> <200320022314345462%planb@newsreaders.com> <20020321022856.582$dC@newsreader.com> <210320021224366481%planb@newsreaders.com> <20020321125143.414$Wp@newsreader.com> <a7ddkd$j6s1m$1@ID-26705.news.dfncis.de> <3c9c54a2.1953960@news> <a7e4h9$kvunt$1@ID-26705.news.dfncis.de> <20020322023326.175$pl@newsreader.com> <3c9d13a7.6329505@news> <3c9f19d0.7906421@news> <9sdm9u0amph7dp697grabpt68ptk6v4f3i@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <a7g42k$l66m6$1@ID-26705.news.dfncis.de>
Subject: Re: Using Message-ID to store binary file information
Date: Fri, 22 Mar 2002 16:27:31 -0400
From: "Klaas" <spamhole@klaas.ca>
References: <20020320140409.897$WW_-_@newsreader.com> <200320021558402413%planb@newsreaders.com> <20020320174111.780$V8@newsreader.com> <200320022314345462%planb@newsreaders.com> <20020321022856.582$dC@newsreader.com> <210320021224366481%planb@newsreaders.com> <20020321125143.414$Wp@newsreader.com> <a7ddkd$j6s1m$1@ID-26705.news.dfncis.de> <3c9c54a2.1953960@news> <a7e4h9$kvunt$1@ID-26705.news.dfncis.de> <20020322023326.175$pl@newsreader.com> <3c9d13a7.6329505@news> <3c9f19d0.7906421@news> <9sdm9u0amph7dp697grabpt68ptk6v4f3i@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!shw50-97.accesscable.NET!not-for-mail
Newsgroups: news.software.nntp
Organization: This is a valid mailbox
Lines: 25
NNTP-Posting-Host: shw50-97.accesscable.net (24.138.50.97)
X-Trace: fu-berlin.de 1016828821 22223558 24.138.50.97 (16 [26705])
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200