Skip to content

iwollmann/react-proof-of-work

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proof of Work Sample

This is a simple implementation of the hashcash technique to prevent a user from spamming requests to the server, asking the user a proof of work

The idea is to ask the client to perform a hash operation on a random string increasing the match zero bits each time

You can se more details about the hashcash on wikipedia

You can see this sample running here

For this sample I limit the compare to 20 bits to avoid client browser crash.

License

MIT

About

Simple app implementing a proof of work using Hashcash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published