kzg

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 11 Imported by: 46

Documentation

Overview

Package kzg provides constructor for curved-typed KZG SRS

For more details, see ecc/XXX/fr/kzg package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinaryDumper added in v0.13.0

type BinaryDumper interface {
	WriteDump(w io.Writer, maxPkPoints ...int) error
	ReadDump(r io.Reader, maxPkPoints ...int) error
}

type SRS

type SRS Serializable

func NewSRS

func NewSRS(curveID ecc.ID) SRS

NewSRS returns an empty curved-typed SRS object that implements io.ReaderFrom and io.WriterTo interfaces

type Serializable added in v0.11.0

type Serializable interface {
	io.ReaderFrom
	io.WriterTo
	BinaryDumper

	WriteRawTo(w io.Writer) (n int64, err error)
	UnsafeReadFrom(r io.Reader) (int64, error)
}

Jump to

Keyboard shortcuts

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