🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64786

Re: xBin library version 0.1

#64786
From: Rene
Date: Tue, 08 Apr 2003 23:02
29 lines
2389 bytes
"Chris AtLee" <catlee@canada.com> wrote:
> Just finished reading some of the documentation on Tiger Tree Hashes, and
> it looks like they're exactly what xBin does with SHA1 hashes, except
> with a different hashing algorithm.  They also include an extra byte of
> input when combining internal nodes in the tree (in order to protect
> against collisions).  The docs also mention that the name for this type
> of tree is a Merkle Hash Tree.

Yep, the xBin hash tree *is* a Merkle Hash Tree. This data structure used
in that way was invented by some guy named Merkle for the first time. AFAIK
Curt found the same solution to the same problem and simply called it hash
tree.

If I'm not mistaken the Merkle Hash Tree is described in the book "Applied
Cryptograhpy" (don't have it around me right now though so I can't check)

> They recommend a block size of 1,024 bytes, but the algorithm will work
> with any size you want.  There is no mention of only including the
> complement of the hash tree with the data portion, it looks like they
> recommend to include the entire hash tree with every portion of data.

Yes, which makes it quite a lot of meta data to send in one try. But they
only send the whole tree once and then "stream" the datablocks trough, or
something like that.

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Technical Details
Message-ID: <20030408190253.248$FH@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!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <pan.2003.04.08.05.21.36.142899@canada.com> <l_Cka.19193$iy5.537691@twister2.libero.it> <pan.2003.04.08.17.40.39.978437@canada.com> <pan.2003.04.08.18.19.33.288947@canada.com>

Show Full Headers
Complete Article Headers
Message-ID: <20030408190253.248$FH@newsreader.com>
Subject: Re: xBin library version 0.1
Date: Tue, 08 Apr 2003 23:02:53 +0000
From: Rene <invalid@email.addr>
References: <pan.2003.04.08.05.21.36.142899@canada.com> <l_Cka.19193$iy5.537691@twister2.libero.it> <pan.2003.04.08.17.40.39.978437@canada.com> <pan.2003.04.08.18.19.33.288947@canada.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!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com Subscriber
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com JYDry+SoL6K5Ir+XmNit5d,,CRWH@gQP.r025b2hasyZ_rwO
Lines: 28