Versions in this module Expand all Collapse all v0 v0.0.2 Aug 19, 2020 v0.0.1 Aug 19, 2020 Changes in this version + type AdditionProof struct + HiderProof Proof + ModAddProof Proof + RangeProof RangeProof + type AlmostSafePrimeProductProof struct + Commitments []*big.Int + Nonce *big.Int + Responses []*big.Int + type BaseLookup interface + Base func(name string) *big.Int + Exp func(ret *big.Int, name string, exp, P *big.Int) bool + Names func() []string + type BaseMerge struct + func NewBaseMerge(parts ...BaseLookup) BaseMerge + func (b *BaseMerge) Base(name string) *big.Int + func (b *BaseMerge) Exp(ret *big.Int, name string, exp, P *big.Int) bool + func (b *BaseMerge) Names() []string + type DisjointPrimeProductProof struct + Responses []*big.Int + type EmptyFollower struct + func (_ *EmptyFollower) StepDone() + func (_ *EmptyFollower) StepStart(desc string, intermediates int) + func (_ *EmptyFollower) Tick() + type ExpProof struct + BasePowProofs []PedersenProof + BasePowRangeProofs []RangeProof + BasePowRelProofs []MultiplicationProof + ExpBitEqHider Proof + ExpBitProofs []PedersenProof + InterResProofs []PedersenProof + InterResRangeProofs []RangeProof + InterStepsProofs []ExpStepProof + StartProof PedersenProof + type ExpStepAProof struct + Bit Proof + EqualityHider Proof + type ExpStepBProof struct + Bit Proof + Mul PedersenProof + MultiplicationProof MultiplicationProof + type ExpStepProof struct + Achallenge *big.Int + Aproof ExpStepAProof + Bchallenge *big.Int + Bproof ExpStepBProof + type IsSquareProof struct + NProof PedersenProof + RootsProof []PedersenProof + RootsRangeProof []RangeProof + RootsValidProof []MultiplicationProof + SquaresProof []PedersenProof + type LhsContribution struct + Base string + Power *big.Int + type MultiplicationProof struct + Hider Proof + ModMultProof PedersenProof + RangeProof RangeProof + type PedersenProof struct + Commit *big.Int + Hresult Proof + Sresult Proof + func (p *PedersenProof) Base(name string) *big.Int + func (p *PedersenProof) Exp(ret *big.Int, name string, exp, P *big.Int) bool + func (p *PedersenProof) Names() []string + func (p *PedersenProof) ProofResult(name string) *big.Int + type PrimePowerProductProof struct + Responses []*big.Int + type PrimeProof struct + ACommit PedersenProof + AExpProof ExpProof + AMin1 Proof + AMin1Challenge *big.Int + APlus1 Proof + APlus1Challenge *big.Int + ARangeProof RangeProof + AResCommit PedersenProof + AnegCommit PedersenProof + AnegExpProof ExpProof + AnegRangeProof RangeProof + AnegResCommit PedersenProof + HalfPCommit PedersenProof + PreaCommit PedersenProof + PreaHider Proof + PreaMod Proof + PreaModRangeProof RangeProof + PreaRangeProof RangeProof + type ProgressFollower interface + StepDone func() + StepStart func(desc string, intermediates int) + Tick func() + var Follower ProgressFollower = &EmptyFollower{} + type Proof struct + Result *big.Int + func (p *Proof) ProofResult(name string) *big.Int + type ProofLookup interface + ProofResult func(name string) *big.Int + type ProofMerge struct + func NewProofMerge(parts ...ProofLookup) ProofMerge + func (p *ProofMerge) ProofResult(name string) *big.Int + type QuasiSafePrimeProductProof struct + ASPPproof AlmostSafePrimeProductProof + DPPproof DisjointPrimeProductProof + PPPproof PrimePowerProductProof + SFproof SquareFreeProof + type RangeProof struct + Results map[string][]*big.Int + type RepresentationProofStructure struct + Lhs []LhsContribution + Rhs []RhsContribution + type RhsContribution struct + Base string + Power int64 + Secret string + type SecretLookup interface + Randomizer func(name string) *big.Int + Secret func(name string) *big.Int + type SecretMerge struct + func NewSecretMerge(parts ...SecretLookup) SecretMerge + func (s *SecretMerge) Randomizer(name string) *big.Int + func (s *SecretMerge) Secret(name string) *big.Int + type SquareFreeProof struct + Responses []*big.Int + type ValidKeyProof struct + BasesValidProof IsSquareProof + Challenge *big.Int + GroupPrime *big.Int + PProof PedersenProof + PQNRel Proof + PprimeIsPrimeProof PrimeProof + PprimeProof PedersenProof + QProof PedersenProof + QSPPproof QuasiSafePrimeProductProof + QprimeIsPrimeProof PrimeProof + QprimeProof PedersenProof + type ValidKeyProofStructure struct + func NewValidKeyProofStructure(N *big.Int, Z *big.Int, S *big.Int, Bases []*big.Int) ValidKeyProofStructure + func (s *ValidKeyProofStructure) BuildProof(Pprime *big.Int, Qprime *big.Int) ValidKeyProof + func (s *ValidKeyProofStructure) VerifyProof(proof ValidKeyProof) bool