Help us shape the future of Go! Take the 2026 Go Developer Survey

test_circuit

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCcs

func BuildCcs() (*cs.R1CS, error)

func ProveAndVerify

func ProveAndVerify(ccs *cs.R1CS, pk *groth16.ProvingKey, vk *groth16.VerifyingKey) error

Types

type TestCircuit

type TestCircuit struct {
	PreImage frontend.Variable
	Hash     frontend.Variable `gnark:",public"`
}

func (*TestCircuit) Define

func (circuit *TestCircuit) Define(api frontend.API) error

Jump to

Keyboard shortcuts

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