Article View: alt.privacy.anon-server
Article #234655hsub data format size
From: Juvenal
Date: Wed, 26 Aug 2009 18:42
Date: Wed, 26 Aug 2009 18:42
53 lines
3397 bytes
3397 bytes
Here are some thoughts on the issue of data format sizes for a successor (or successors) to esub. In all cases, there is a matter of what you are using, what is convenient to use, what you would want, and finally, what you actually need. They may well differ. For reference, the current esub field size is 48 hex characters. I will argue that this more than suffices for future needs. For instance, take the case of: ( IV | HASH( IV | KEY ) ) where | stands for concatenation. The purpose of the IV is to make all your subjects differ. You don't need, however, to have different IVs than others have, so the only issue is how many messages you send. If an IV repeats, then your subject repeats. This is probably not a disaster, but it would be nice if it did not happen too often. So I would suggest that you need at least 32 bits, in order to not have a 50% probability of a repeat more often that every 2^16 messages. It would take me a while to get 32K messages. Perhaps you might want more, like 40 bits. The current size of 64 bits is way past what I can imagine anyone needing for a long time. So I would advocate not expanding the IV size from 8 bytes. If even you need more than that as input to some other subsequent primitive, then one can take SHA2-512(IV), for instance. The next part of an esub is IDEA( key, MD5( subject ) ), which it is proposed to replace with HASH( IV | key ), which I agree is a good thing to change to. Here one is concerned with the messages of others, since one will be impacted with false positives (subjects that seem to be yours, but are not) when someone else's hsub collides with yours. So, given the previous analysis for IV size, a problem occurs when the rest of the message pool on a.a.m. reaches a certain size. However, I'd argue that even there, a 32 bit field is sufficient for about 32K messages, which is about a year's worth of a.a.m. postings. The current field size of 32 hex characters (representing 128 bits) is appropriately sized for a collision every 2^64 messages, which at the current rate of posting would take the next 4 billion years. As I said at the beginning, I don't think that expanding this field is needed. So if one uses, for example SHA2-256, I'd recommend truncating the output by taking the first 128 bits. This would avoid any partitioning issues that would arise from changing from the esub output format. Finally, its a nit, but I would not call the new construct esha, for there is no "e" in it. I'd call it hsub. Juvenal
Technical Details
Message-ID:
<T1JDE5L340052.1128819444@reece.net.au>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!border2.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.wiretrip.org!news.dizum.com!sewer-output!mail2newsShow Full Headers
Complete Article Headers
Message-ID: <T1JDE5L340052.1128819444@reece.net.au> Subject: hsub data format size Date: Wed, 26 Aug 2009 18:42:33 +0000 From: Juvenal <remailer@reece.net.au> 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!border2.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.wiretrip.org!news.dizum.com!sewer-output!mail2news Newsgroups: alt.privacy.anon-server X-Remailer-Contact: abuse@reece.net.au Mail-To-News-Contact: abuse@dizum.com Organization: mail2news@dizum.com Lines: 52 X-Original-Bytes: 3097