Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commitment ¶
type Commitment struct { // A = α ⊙ Y % ρ A *paillier.Ciphertext // B = Enc(α;s) B *paillier.Ciphertext }
type Proof ¶
type Proof struct { *Commitment // Z = α + ex Z *safenum.Int // U = r⋅ρᵉ mod N U *safenum.Nat // V = s⋅ρₓᵉ V *safenum.Nat }
type Public ¶
type Public struct { // X = Enc(x; ρₓ) X *paillier.Ciphertext // Y is a ciphertext over the prover's public key Y *paillier.Ciphertext // C = x ⊙ Y % ρ C *paillier.Ciphertext // Prover = N Prover *paillier.PublicKey }
Click to show internal directories.
Click to hide internal directories.