crypto

package
v0.0.0-...-465a192 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NeffShuffle

func NeffShuffle(publicKeys []kyber.Point, base kyber.Point, doShufflePositions bool) ([]kyber.Point, kyber.Point, kyber.Scalar, []byte, error)

NeffShuffle implements Andrew Neff's verifiable shuffle proof scheme as described in the paper "Verifiable Mixing (Shuffling) of ElGamal Pairs", April 2004. The function randomly shuffles and re-randomizes a set of ElGamal pairs, producing a correctness proof in the process. Returns (Xbar,Ybar), the shuffled and randomized pairs.

func NewKeyPair

func NewKeyPair() (kyber.Point, kyber.Scalar)

*

  • creates a public, private key pair using the cryptosuite in config

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL