This module provides functions for generating and validating HashCash values.
Given the difficulty level and data it searches for a nonce that makes the hash meet the criteria.
Example:
``` findNonce 3 "example data" ```
This will search for a nonce that, when combined with the data, produces a hash that starts with 4 leading zeros.
Given the difficulty level and data it searches for a nonce that makes the hash meet the criteria.
Example:
This will search for a nonce that, when combined with the data, produces a hash that starts with 4 leading zeros.