Discover Packages
github.com/wertikalk/gnark-crypto
ecc
bw6-761
fr
permutation
package
Version:
v0.0.0-...-6c19a75
Opens a new window with list of versions in this module.
Published: Aug 4, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package permutation provides an API to build permutation proofs.
View Source
var (
ErrIncompatibleSize = errors .New ("t1 and t2 should be of the same size")
ErrSize = errors .New ("t1 and t2 should be of size a power of 2")
ErrPermutationProof = errors .New ("permutation proof verification failed")
ErrGenerator = errors .New ("wrong generator")
)
Verify verifies a permutation proof.
Proof proof that the commitments of t1 and t2 come from
the same vector but permuted.
Prove generates a proof that t1 and t2 are the same but permuted.
The size of t1 and t2 should be the same and a power of 2.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.