🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61415

Re: [FNTP] more on hash chunk sizes

#61415
From: Claus Färber
Date: Sun, 13 Oct 2002 14:40
41 lines
2577 bytes
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.

A derieved method is called bitprint, which just concatenats a SHA1 and  
a TigerTree hash.

We should define a Content-Hash header field that can hold any hashes in  
the form <name>=<value> instead of defining a new header (like Content- 
MD5) for each hash method.

> UUENCODE

> Like I said in another post, to make this system compatible with uuencode
> we have the problem that uuencode puts 45 bytes of file data on each line.
> When you post in uuencode format, each article must fall on a uuencode line
> break.

With Base64, which is the better solution anyway, we have a maximum of
76 characters (= 57 encoded octets) per line.

But Base64 allows to use less than this number of characters per line,
so it's possible to just insert a line break early if you need a break.
With the resulting block size of 3 octets, we could split posts at every
3 kiB boundary.

If we define a new encoding (like an improved yEnc), we have to make
sure that we can split a post at every signle octet.

Claus
-- 
------------------------ http://www.faerber.muc.de/ ------------------------
OpenPGP: DSS 1024/639680F0 E7A8 AADB 6C8A 2450 67EA AF68 48A5 0E63 6396 80F0
Technical Details
Message-ID: <8Yl1XwH3cDC@3247.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.tele.dk!small.news.tele.dk!news.osn.de!news.space.net!news.muc.de!faerber.muc.de!claus
References: <hpk9quk1cq0ti2reeu03epd0tgf4b8a8p0@4ax.com> <20021010014047.034$XV@newsreader.com> <ao4htp$rq1$1@bob.news.rcn.net> <20021011161123.133$Fc_-_@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <8Yl1XwH3cDC@3247.org>
Subject: Re: [FNTP] more on hash chunk sizes
Date: Sun, 13 Oct 2002 14:40:00 +0000
From: claus-usenet-20021013@faerber.muc.de (Claus Färber)
References: <hpk9quk1cq0ti2reeu03epd0tgf4b8a8p0@4ax.com> <20021010014047.034$XV@newsreader.com> <ao4htp$rq1$1@bob.news.rcn.net> <20021011161123.133$Fc_-_@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.tele.dk!small.news.tele.dk!news.osn.de!news.space.net!news.muc.de!faerber.muc.de!claus
Newsgroups: news.software.nntp
User-Agent: OpenXP/32 v3.9.3-cl (Win32) alpha @ 2002-10-13-1532d
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Organization: NewsReader.Com
Lines: 40