🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63390

Re: One million new groups - what happens then ?

#63390
From: Jeffrey M. Vinocur
Date: Mon, 20 Jan 2003 04:47
39 lines
2534 bytes
In article <4bFW9.57143$1q3.8030@sccrnsc01>,
Mark Hittinger <bugs@pu.net> wrote:
>
>Hashes work better (provide a better distribution) the more data they have
>to hash over.  A newsgroup name really isn't much data to hash and they
>are quite similar.

In principle this shouldn't matter; changing the input to a
cryptographically strong hash function by even a single bit
should have just as much effect on the output as changing the
input entirely.


>Some uses of md5 hashes that I have seen have "truncated" or kept only
>a portion of the hash in the "database" and therefore the chance of
>collision in the shorter piece of hash is higher.

True.  But it can be calculated, and hopefully people are aware
of what the odds of collision will be for their usage.


>That being said I would think that even if you kept the entire md5 hash
>that eventually someone would devise a way to create group names on purpose
>that would hash collide with existing groups.

Mm?  There are two issues:

- there's a theoretical attack on MD5 in particular; should this
  become practical, it's fairly easy to switch to a new hash for
  the applications we're discussing (internal to a news server)

- given a sufficiently large number of inputs, any hash function
  producing a fixed-width output (even a perfect one) will begin
  to produce collisions with high frequency

-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <b0fv1a$q09$1@puck.litech.org>
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!news.ems.psu.edu!news.litech.org!not-for-mail
References: <40478.h13202@archiver.winews.net> <slrnb2igrq.9l6.andrew+nonews@trinity.supernews.net> <0850f.j1320b@archiver.winews.net> <4bFW9.57143$1q3.8030@sccrnsc01>

Show Full Headers
Complete Article Headers
Message-ID: <b0fv1a$q09$1@puck.litech.org>
Subject: Re: One million new groups - what happens then ?
Date: Mon, 20 Jan 2003 04:47:38 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <40478.h13202@archiver.winews.net> <slrnb2igrq.9l6.andrew+nonews@trinity.supernews.net> <0850f.j1320b@archiver.winews.net> <4bFW9.57143$1q3.8030@sccrnsc01>
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!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 38
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1043038058 26633 66.218.0.75 (20 Jan 2003 04:47:38 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Mon, 20 Jan 2003 04:47:38 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)