Software Development, Technology and Innovation

NHashcash 1.1.0 is in the public NuGet repository.

I’m slowly working through my backlog of open source pet-projects. One that I worked on quite a while ago was called NHashcash, a managed .NET implementation of the anti-spam mechanism, Hashcash. Hashcash hasn’t been broadly adopted as far as I can tell but I thought it would be interesting to make the library available via NuGet anyway.

You can install the NHashcash library by issuing the following command on the NuGet package manager console:

install-package NHashCash

The screenshot below highlights this command and the assembly that it adds to the currently selected project references. The sample code is just there to give you an overall taste for the API (its very simple to use).

If you are interested in the source code you can grab it from the project portal on CodePlex. The 1.1.0 version of NHashcash has a major bug fixed there the timestamp used for stamps was incorrectly being generated. I guess its a testament to how few people use Hashcash that the bug was never found, and also how poor my initial unit tests were.