mirror of
https://github.com/arnaucube/sonobe.git
synced 2026-02-02 17:26:44 +01:00
add hash of public params for Nova & HyperNova (#118)
- implement hash of public params for Nova & HyperNova - abstract pp_hash computation for folding schemes - add pp_hash to solidity contract generator to verify the decider proof
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
use ark_ec::CurveGroup;
|
||||
use ark_serialize::{CanonicalDeserialize, CanonicalSerialize};
|
||||
use ark_std::fmt::Debug;
|
||||
use ark_std::rand::RngCore;
|
||||
|
||||
@@ -13,7 +14,7 @@ pub mod pedersen;
|
||||
/// commitment in hiding mode or not.
|
||||
pub trait CommitmentScheme<C: CurveGroup, const H: bool = false>: Clone + Debug {
|
||||
type ProverParams: Clone + Debug;
|
||||
type VerifierParams: Clone + Debug;
|
||||
type VerifierParams: Clone + Debug + CanonicalSerialize + CanonicalDeserialize;
|
||||
type Proof: Clone + Debug;
|
||||
type ProverChallenge: Clone + Debug;
|
||||
type Challenge: Clone + Debug;
|
||||
|
||||
Reference in New Issue
Block a user