w3f / ring-proof

ring-vrf ring proof v2.5
Apache License 2.0
14 stars 4 forks source link

Alternative VK construction #23

Closed davxy closed 4 months ago

davxy commented 4 months ago

This is useful for application where the raw vk is constant in the application and we persist only the commitment.

Usage example.

  1. We rebuild the VerificationKey from a new set of public keys
  2. We get the commitment (using the introduced commitment() method
  3. We persist only the commitment
  4. When required (i.e. to construct the verifier) we construct VerificationKey from the commitment and the application constant raw verification key