Skip to content

Simple PHP example of a nonce calculator, publicly available for educational purposes. The function d256 is reserved by the developer of didlie.com for the creation of crytographically safe unique wallet hashes.

Notifications You must be signed in to change notification settings

didlie/Nonce-Calculator-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a very simple example of a nonce calculation done with sha1 hashing algorithm in PHP

Prerequisites:

  • Knowledge of the concepts: "nonce" calculation, "proof of work," and basic PHP programming skills.
  1. A 256 character-long random string is generated with a simple function called d256()
  2. The string is hashed in sha1
  3. An incremented integer is concatenated to the original hash in a loop until the desired "proof of work" difficulty is successfully calculated as a new sha1 hash.

About

Simple PHP example of a nonce calculator, publicly available for educational purposes. The function d256 is reserved by the developer of didlie.com for the creation of crytographically safe unique wallet hashes.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages