🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Zax: question about hsub

#234760
From: Zax
Date: Sat, 12 Sep 2009 12:47
41 lines
2382 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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?  :-)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREKAAYFAkqrmFoACgkQlKZ6CY7Vd0N9dwCgjxem0CtVor8WG6gm5vuwxYgY
uwYAoIIh5CEA+Evmc6zdFkUvovoNKq6t
=qC42
-----END PGP SIGNATURE-----

-- 
pub  1024D/8ED57743 2003-07-08 Bananasplit Operator
     Key fingerprint = 796F 67E0 E890 A0BB BDAE  EBB4 94A6 7A09 8ED5 7743
uid                            Admin <admin.bananasplit.info>
Technical Details
Message-ID: <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.20141023.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news.mixmin.net!news.bananasplit.info!not-for-mail
References: <01eedfa15ae07e4a7ee2226472f47ec6@dizum.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnhan62q.h6v.admin@fleegle.mixmin.net>
Subject: Re: Zax: question about hsub
Date: Sat, 12 Sep 2009 12:47:22 +0000
From: Zax <admin@bananasplit.info>
References: <01eedfa15ae07e4a7ee2226472f47ec6@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.20141023.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news.mixmin.net!news.bananasplit.info!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Bananasplit
Lines: 41
X-Complaints-To: abuse@bananasplit.info
NNTP-Posting-Date: Sat, 12 Sep 2009 12:47:22 +0000 (UTC)
User-Agent: slrn/pre1.0.0-11 (Linux)
X-PGP-KeyID: 0x8ED57743