You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
||5 months ago|
|argon2i||6 months ago|
|doc||5 months ago|
|include||5 months ago|
|src||5 months ago|
|.gitignore||6 months ago|
|COPYING||6 months ago|
|Makefile||6 months ago|
|README||5 months ago|
|config.sh||6 months ago|
|configure||6 months ago|
mkproof is a small C program for generating proofs of work.
If mkproof is available as a package on your system, prefer to install that
rather than build it yourself.
mkproof depends only on a POSIX-like environment and a C99 compiler.
This will produce three executables: mkchallenge, mkproof, and checkproof.
The situation: Bob wants Alice to do something, but Alice isn't sure if Bob is a
1. Alice runs `mkchallenge` and sends the challenge to Bob.
2. Bob runs `mkproof <challenge>` and wastes some CPU time. After several
minutes of work, a proof is printed to stdout.
3. Bob sends the proof to Alice.
4. Alice runs `checkproof <challenge> <proof>` to verify the work.
Now Alice can be reasonably confident that Bob is not a robot, and proceed with
To make a challenge, generate 16 random bytes. Choose the argon2 iterations and
memory parameters, and the number of zeroed digits, to tune the