🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63874

Re: Content-SHA1-Tree

#63874
From: Lykas
Date: Wed, 05 Feb 2003 13:48
32 lines
1919 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote in message news:<1r3co0fjr2.fsf@vingodur.ifi.uio.no>...
> [snip]
> Content-SHA1-Tree is a header which is used to verify the correct
> transfer of a file.  It differs from most other hashes in that it can
> verify individual fragments of a file, with only the information
> included in this header and the fragment itself.
> 

I have sought about an other scheme with a similar purpose. I don't
know if it is secure enough (or secure at all). Any comments would
be appreciated.

f_1, f_2, ..., f_n a set of files,
H a hash function, ^ the xor operator

id_1 = H(f_1), id_2 = H(f_2), ..., id_n = H(f_n),
id = id_1^id_2^...^id_n,
id'_1 = id_2^id_3^...^id_n,
id'_2 = id_1^id_3^...^id_n,
...,
id'_n = id_1^id_2^...^id_{n-1}.

now when you send (f_i,id'_i), the receifer can verify that f_i
belongs to the set "id" when H(f_i)^id'_i = id.


> [snip]
> The size of a block must be constant across implementations.  The
> chosen value is 22500 octets.

What is the reason for this value?
Technical Details
Message-ID: <815b0091.0302050548.fd82b90@posting.google.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!postnews1.google.com!not-for-mail
References: <1r3co0fjr2.fsf@vingodur.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <815b0091.0302050548.fd82b90@posting.google.com>
Subject: Re: Content-SHA1-Tree
Date: Wed, 05 Feb 2003 13:48:00 +0000
From: lykas@gmx.ch (Lykas)
References: <1r3co0fjr2.fsf@vingodur.ifi.uio.no>
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!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com/
Lines: 31
NNTP-Posting-Host: 128.178.14.146
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1044452880 4127 127.0.0.1 (5 Feb 2003 13:48:00 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 5 Feb 2003 13:48:00 GMT