group

package
v0.0.0-...-689a390 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Gen = groupElem{
	// contains filtered or unexported fields
}

Gen Simplest generator of group

Functions

This section is empty.

Types

type Elem

type Elem interface {
	Add(Elem, Elem) Elem
	Mult(Elem, *big.Int) Elem
	Inverse(Elem) Elem
	Cmp(Elem, Elem) bool
	Neutral() Elem
	Marshal() []byte
	Unmarshal([]byte) Elem
}

Elem element of group

func NewElem

func NewElem(value *big.Int) Elem

NewElem creates new instance of Elem based on given value

Jump to

Keyboard shortcuts

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