[hashcash] Bug in Debian

  • From: Aaron Toponce <aaron.toponce@xxxxxxxxx>
  • To: hashcash@xxxxxxxxxxxxx
  • Date: Mon, 21 Mar 2011 15:31:14 -0600

I submitted a the following bug to the Debian bug tracker:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619183

Does anyone else have the same problem, or am I doing it wrong? For
example:

    $ hashcash -m foo -b 30 -Z 2
    hashcash token: 1:20:110321:foo::D98FQryEx9gxON+9:82nc

It is no 30 bits, as the 2nd field shows, and verifying it with SHA1
shows such:

    $ echo -n 1:20:110321:foo::D98FQryEx9gxON+9:82nc | sha1sum
    00000b8fc2f1b82dbda883499d9ed9c8e30f130e  -

Has anyone else seen this problem?

-- 
. o .   o . o   . . o   o . .   . o .
. . o   . o o   o . o   . o o   . . o
o o o   . o .   . o o   o o .   o o o

Other related posts: