🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #234767

Re: Zax: question about hsub

#234767
From: Nomen Nescio
Date: Sun, 13 Sep 2009 04:29
35 lines
2356 bytes
In article <slrnhan62q.h6v.admin@fleegle.mixmin.net>
Zax <admin@bananasplit.info> wrote:
>
>On Sat, 12 Sep 2009 05:16:50 +0200 (CEST), Nomen Nescio wrote in
>Message-Id: <01eedfa15ae07e4a7ee2226472f47ec6@dizum.com>:
>
>> My question is, does the same subject text hash to the same hashed
>> value everytime? Esub produced a different hashed value every time.
>> With hsub, if I recieve a dozen messages from my nym with exactly
>> the same subject, will the hsub subject be also the same everytime?
>
>No, the hsub will be different on each occasion.  I'll try and explain
>how it works....
>
>The first 8 bytes (16 hex digits) of the hsub (and esub) are randomly
>generated.  For the sake of this example, lets say your random 8 bytes
>are: aaaaaaaa.  This is known as the IV.
>
>The rest of the hsub is a SHA256 hash of the IV and subject joined
>together, so if your subject was "test", your hsub would be:
>'aaaaaaaa' + sha256('aaaaaaaa' + 'test').  This (in hex) is:
>61616161616161617b536f1be88db02e16ae4abfc35fc39a6d633ed07cdc62f92a395706eda8d01f
>
>We then trim that to 48 characters to make it look like an esub:
>61616161616161617b536f1be88db02e16ae4abfc35fc39a
>
>Make sense now?  :-)

Ok, I can see that now. You say esub uses the 8 random characters 
also. I looked at the esub code and it looks to me like those 
characters along with the hashed subject are encrypted into the 
esub subject--not just tacked on as the first 8 bites of the 
subject as it appears in a.a.m. Am I right about that?

Thanks for you explanations.
Technical Details
Message-ID: <fdb4ec0cafb243c6314f5fd543b8150f@dizum.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.mbox.zip!g2news2.google.com!news3.google.com!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.wiretrip.org!news.dizum.com!sewer-output!mail2news
References: <01eedfa15ae07e4a7ee2226472f47ec6@dizum.com> <slrnhan62q.h6v.admin@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <fdb4ec0cafb243c6314f5fd543b8150f@dizum.com>
Subject: Re: Zax: question about hsub
Date: Sun, 13 Sep 2009 04:29:35 +0000
From: Nomen Nescio <nobody@dizum.com>
References: <01eedfa15ae07e4a7ee2226472f47ec6@dizum.com> <slrnhan62q.h6v.admin@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.mbox.zip!g2news2.google.com!news3.google.com!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.wiretrip.org!news.dizum.com!sewer-output!mail2news
Newsgroups: alt.privacy.anon-server
Mail-To-News-Contact: abuse@dizum.com
Organization: mail2news@dizum.com