Skip to main content

commitment_scheme_ty

Function commitment_scheme_ty 

Source
pub fn commitment_scheme_ty() -> Expr
Expand description

CommitmentScheme : Type

A commitment scheme (Setup, Commit, Open, Verify):

  • Commit(m, r) → c (commit to m with randomness r)
  • Verify(c, m, r) → Bool (verify opening)