field

package
v0.0.0-...-88e0eed Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ID

type ID string

ID is an identifier of a well-known finite field.

const (
	P25519     ID = "2^255-19"
	P256       ID = "2^256-2^224+2^192+2^96-1"
	P256K1     ID = "2^256-2^32-977"
	P384       ID = "2^384-2^128-2^96+2^32-1"
	P448       ID = "2^448-2^224-1"
	P521       ID = "2^521-1"
	BLS12381G1 ID = "BLS12381G1"
	BLS12381G2 ID = "BLS12381G2"
)

func (ID) Get

func (id ID) Get() F.Field

Get returns an implementation of a field corresponding to the identifier.

Jump to

Keyboard shortcuts

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