[hashcash] Pure Python implementation of hashcash v.1

  • From: "David Mertz, Ph.D." <mertz@xxxxxxxxx>
  • To: "David Mertz, Ph.D." <mertz@xxxxxxxxx>
  • Date: Wed, 22 Sep 2004 20:20:42 -0400

I saw David McNab's Python implementation. Unfortunately, as near as I can tell (and suggested in the list archives also), McNab actually implements a different algorithm than hashcash. It might (or might not) be equivalent in security; but I cannot see any directly way to transform what he computes into an actual hashcash stamp.

I created a Pure Python module today that seems to conform with the hashcash v.1 standard. But I probably missed something. It's just barely tested--call this an alpha version. Still, I figured I'd send it out here.... if anyone sees something I've done wrong, please let me know so I can correct it before distributing the module more widely.

Yours, David...

P.S. I'm doing an article for IBM developerWorks on hashcash. Look for it.

Other related posts: