setup

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DLogIdentifier = v1.DLogIdentifier
	ProtocolV2     = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PublicParams

type PublicParams = v1.PublicParams

PublicParams are identical to the v1's public parameters. What changes is the driver version.

func NewPublicParamsFromBytes

func NewPublicParamsFromBytes(
	raw []byte,
	driverName driver.TokenDriverName,
	driverVersion driver.TokenDriverVersion,
) (*PublicParams, error)

func Setup

func Setup(bitLength uint64, idemixIssuerPK []byte, idemixCurveID mathlib.CurveID) (*PublicParams, error)

Jump to

Keyboard shortcuts

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