Skip to content

CLI functionality around the HashCash algorithm written in Haskell

License

Notifications You must be signed in to change notification settings

maple-shaft/HashCashUtilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HashCashUtilities

CLI functionality around the HashCash algorithm written in Haskell.

HashCash Command Line Interface Tool: Copyright 2017 Dustin Briscoe"

This command line tool will allow you to mint a valid HashCash header, or validate it. The following tool is to be used at your own risk. It is intended to be a proof of concept in implementing a proof of work scheme in a purely functional language like Haskell.

Features not yet implemented:

  • Only version 1 of HashCash is implemented
  • Timestamp validation is not currently occurring

Commands: generate - Create a valid X-Hashcash mail header given various options -v [option] = Use a specific email address or other value -d [option] = Use a specific valid timestamp such that timestamp of mail header can be validated -p [option] = Modify the difficulty setting of the proof of work (NOTE: Higher numbers require more work) -t [option] = Number of parallel threads of computation. On multicore systems this may result in faster generation of a header. validate - Validate an X-Hashcash mail header and return 'Valid' or 'Not Valid'

About

CLI functionality around the HashCash algorithm written in Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published