Hannu <[EMAIL PROTECTED]> writes:

> BTW, should we start by using -b20? Currently b16 should be enought,
> but what in the future? B20 is anyway not too complicated for
> current PC's.

I suppose it's a question of how many bits receiving sites are likely
to require.  It would be nice to mint 16 bit tokens since they take
much less time, but if they aren't likely to be accepted, that doesn't
make sense.

Hashcash mints 20 bits by default.  I also looked at the Spamassassin
source, and they appear to recognize a minimum of 20 bits, with
greater negative scores for more bits:

score T_HASHCASH_20             -0.5
score T_HASHCASH_21             -0.7
score T_HASHCASH_22             -1.0
score T_HASHCASH_23             -2.0
score T_HASHCASH_24             -3.0
score T_HASHCASH_25             -4.0
score T_HASHCASH_26             -5.0

So yes, I think -b20 is a good start.  Higher would be nice, but
unless your mailer sends in the background, its painful to wait those
extra seconds each time you send a message.

Speed estimates on my powerbook g4:

hrothgar:~ jasonrm$ for i in `seq 20 26`;do hashcash -s -b$i;done
time estimate: 1 seconds
time estimate: 2 seconds
time estimate: 4 seconds
time estimate: 8 seconds
time estimate: 17 seconds
time estimate: 33 seconds
time estimate: 66 seconds (1 minutes)

_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to