🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64930

Re: [BinFor] Splitting extra large files - slice method.

#64930
From: Curt Welch
Date: Sat, 19 Apr 2003 04:19
22 lines
2876 bytes
"Mirco Romanato" <painlord2k@yahoo.it> wrote:
> But just now SHA1+TTH can solve the problem of the "Last chunk to hash"
> in the TTH.
> You can trust any part of the tree, but if the total file don't satisfy
> the SHA1 probably the last chunk is the problem.

What makes you think there's a "last chunk" problem with TTH?  If any byte
of the file is different, the TTH will be different.

The Tiger hash function, like all good hash functions, is length dependent.
The last hash block of the data is hashed to it's given length, it is not
padded to fill out the block.  If the last block has only one byte of data,
then only one byte of data is feed into the hash function to calculate the
hash value for the last block.  It will be different from any other length
or value for the "last block" (within the limits of the hash function of
course).  A one byte block will have a different hash value for the last
block than the same byte followed by 1023 nulls for example.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030419001951.285$pk@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!lnsnews.lns.cornell.edu!newsstand.cit.cornell.edu!ngpeer.news.aol.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <1048a.143208@archiver.winews.net> <mgsp8v8oo1rf5gua0po4ikbmgj18tjd36c@4ax.com> <04018.443200@archiver.winews.net> <9poq8v8cj6ovato7vj015te4bg2truq7ve@4ax.com> <34037.743202@archiver.winews.net> <r_Cka.19194$iy5.537583@twister2.libero.it> <01216.943204@archiver.winews.net> <Xns93582C172A68Dnothing@209.98.50.131> <58128.a43205@archiver.winews.net> <4qbla.24414$iy5.689256@twister2.libero.it> <09527.b43208@archiver.winews.net> <Ckyla.27817$DT4.798840@twister1.libero.it> <5643a.f43203@archiver.winews.net> <GsYma.39933$DT4.1191512@twister1.libero.it> <20030415163254.837$Ac@newsreader.com> <ipyna.46522$iy5.1327928@twister2.libero.it> <20030417181926.173$Ky@newsreader.com> <_8Wna.49609$iy5.1414934@twister2.libero.it>

Show Full Headers
Complete Article Headers
Message-ID: <20030419001951.285$pk@newsreader.com>
Subject: Re: [BinFor] Splitting extra large files - slice method.
Date: Sat, 19 Apr 2003 04:19:51 +0000
From: curt@kcwc.com (Curt Welch)
References: <1048a.143208@archiver.winews.net> <mgsp8v8oo1rf5gua0po4ikbmgj18tjd36c@4ax.com> <04018.443200@archiver.winews.net> <9poq8v8cj6ovato7vj015te4bg2truq7ve@4ax.com> <34037.743202@archiver.winews.net> <r_Cka.19194$iy5.537583@twister2.libero.it> <01216.943204@archiver.winews.net> <Xns93582C172A68Dnothing@209.98.50.131> <58128.a43205@archiver.winews.net> <4qbla.24414$iy5.689256@twister2.libero.it> <09527.b43208@archiver.winews.net> <Ckyla.27817$DT4.798840@twister1.libero.it> <5643a.f43203@archiver.winews.net> <GsYma.39933$DT4.1191512@twister1.libero.it> <20030415163254.837$Ac@newsreader.com> <ipyna.46522$iy5.1327928@twister2.libero.it> <20030417181926.173$Ky@newsreader.com> <_8Wna.49609$iy5.1414934@twister2.libero.it>
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!lnsnews.lns.cornell.edu!newsstand.cit.cornell.edu!ngpeer.news.aol.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com Bwb@ywHZ89=HpLHV6f_y6cHqbYB.9yRPXO5DCFTzmm,+QE
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: 21