scipr-lab / libsnark

C++ library for zkSNARKs
Other
1.83k stars 583 forks source link

Difference between ppzkSNARK Verifier and ppzkSNARK Online Verifier #101

Open hasinitg opened 6 years ago

hasinitg commented 6 years ago

Hi,

In the tutorial of libsnark and as well as in the tutorial by @howardwu, there are two verifiers illustrated.

  1. ppzkSNARK Verifier
  2. ppzkSNARK Online Verifier

Could I please know what is the difference of the two verifiers and in which occasions the implementation of one verifier is preferred over the other? I would appreciate any insights/clarifications on this.

Thank you. Hasini.

sshravan commented 5 years ago

Online verifier uses a pre-processed verification key. Hence the verification times are faster, as noted in the this comment.