Versions in this module Expand all Collapse all v0 v0.1.0 Feb 16, 2026 Changes in this version + var ErrVerificationFailed = errs.New("verification failed") + type Commitment base.Equatable[C] + type Committer interface + Commit func(message M, prng io.Reader) (C, W, error) + CommitWithWitness func(message M, W W) (C, error) + type CommitterOption = func(COM) error + type GenericVerifier struct + func NewGenericVerifier[T Committer[W, M, C], W Witness, M Message, C Commitment[C]](committer T) *GenericVerifier[T, W, M, C] + func (v *GenericVerifier[T, W, M, C]) Verify(commitment C, message M, witness W) error + type GroupHomomorphicScheme interface + Group func() G + type HomomorphicScheme Scheme[K, W, M, C, CO, VF] + type Key any + type Message any + type Name string + type ReRandomisableCommitment interface + ReRandomise func(K, io.Reader) (C, W, error) + ReRandomiseWithWitness func(K, W) (C, error) + type Scheme interface + Committer func(...CommitterOption[COM, W, M, C]) (COM, error) + Key func() K + Name func() Name + Verifier func(...VerifierOption[VF, W, M, C]) (VF, error) + type Verifier interface + Verify func(commitment C, message M, witness W) error + type VerifierOption = func(VF) error + type Witness any