Article View: news.software.nntp
Article #61427Re: [FNTP] more on hash chunk sizes
From: Curt Welch
Date: Sun, 13 Oct 2002 20:57
Date: Sun, 13 Oct 2002 20:57
52 lines
3634 bytes
3634 bytes
curt@kcwc.com (Curt Welch) wrote: > claus-usenet-20021013@faerber.muc.de (Claus_F๏ฟฝrber) wrote: > > Curt Welch <curt@kcwc.com> schrieb/wrote: > > > THE HASH > > > > > To start with, let me explain for anyone not following this, that we > > > are basically defining a hash algorthm that works well with multipart > > > posts because it allows you to verify that a single post matches it's > > > hash id without having access to all the other posts. > > > > There seems to be a hash function called TigerTree that already does > > that. TigerTree uses 1 kiB blocks. > > I'll have to look for a reference to that. I've done that now. Yes, TigerTree is the exact same type of a hash we have been talking about based on 1KB blocks and based on the 192 bit Tiger hash function. The hash it seems (from a one line comment I saw) was designed for the exacty same reasons we are looking at a hash tree algorithm - because of it's abality to veryify file segments in a "compact fashion". The Tiger hash function it seems is simply yet another hash that is believed (by the authors) to be secure. I did't search long enough to dig up third party opinions on it's strength. It's a 192 bit (24 byte) hash designed for optimal speed on 64 bit processors but yet also designed to be as fast or faster than MD5 or SHA on 16 and 32 bit processors. TigerTree is just a Tree hash built with with Tiger and I didn't see any connection between TigerTree and Tiger in terms of who designed it or created it. I see no good reason to make TigerTree the standard for this application. Both MD4 and SHA1 are many orders of magnatude faster than disk IO, so hash speed for either doesn't seem to be an issue, and extra length of Tiger doesn't seem to be needed either. The only other part of the TigerTree algorithm is the block size, which though 1KB was the same number I picked at first, I suspect is not the best answer for this, mainly because of the uuencode line length issue. The "Tree" part of the algorithm is trivial to write and works the same no mater what underlying hash you build it on, so there's nothing special going on there. It is good to know that others have used this same solution for the same problem. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20021013165729.695$E3@newsreader.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!cyclone.bc.net!HSNX.atgi.net!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<hpk9quk1cq0ti2reeu03epd0tgf4b8a8p0@4ax.com> <20021010014047.034$XV@newsreader.com> <ao4htp$rq1$1@bob.news.rcn.net> <20021011161123.133$Fc_-_@newsreader.com> <8Yl1XwH3cDC@3247.org> <20021013161854.690$3V@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <20021013165729.695$E3@newsreader.com>
Subject: Re: [FNTP] more on hash chunk sizes
Date: Sun, 13 Oct 2002 20:57:29 +0000
From: curt@kcwc.com (Curt Welch)
References: <hpk9quk1cq0ti2reeu03epd0tgf4b8a8p0@4ax.com> <20021010014047.034$XV@newsreader.com> <ao4htp$rq1$1@bob.news.rcn.net> <20021011161123.133$Fc_-_@newsreader.com> <8Yl1XwH3cDC@3247.org> <20021013161854.690$3V@newsreader.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!cyclone.bc.net!HSNX.atgi.net!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com 8KmRCLawfhm6LXmyC02YFp4d-+cf_eR5VItDrzSzWfTXfJy3
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 51