Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zero Knowledge Proof: Proving Random Bits

Using zkSnarks to prove random bits between Peggy and Victor

Used Zokrates library for implementing zkSnarks.

Steps performed

  • Victor performed the computation of the main reveal_bit.zok file and put the output in a reveal_bit_by_Victorfile.
  • Then performed setup to create the proving key and verification_key.
  • Copying this proving key in Peggy's directory.

  • Peggy now compiled the main reveal_bit.zok file and put the output in a reveal_bit_by_Peggy file.
  • Peggy then computed a witness.
  • Then created a proof using witness , Victor's proving key and the compiled program.
  • Now Victor verifies this proof using his verification key.

Zokrates use Groth16 proving scheme as default.


About

using zkSnarks proving random bits between Peggy and Victor .

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages