curvebn

package
v0.0.0-...-64543fc Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurveBN

type CurveBN struct {
	Curve elliptic.Curve
	P     []byte
}

func BytesHash2CurvBN

func BytesHash2CurvBN(byts []byte) (*CurveBN, error)

func NewCurveBN

func NewCurveBN(p []byte) *CurveBN

func PointsHash2CurvBN

func PointsHash2CurvBN(points ...*point.Point) (*CurveBN, error)

func (*CurveBN) Bytes

func (c *CurveBN) Bytes() []byte

func (*CurveBN) Convert2CanInverseCurvBN

func (c *CurveBN) Convert2CanInverseCurvBN() *CurveBN

func (*CurveBN) FromBytes

func (c *CurveBN) FromBytes(data []byte) error

func (*CurveBN) Int

func (c *CurveBN) Int() *big.Int

func (*CurveBN) InverseModCurvBN

func (c *CurveBN) InverseModCurvBN() *big.Int

func (*CurveBN) Len

func (c *CurveBN) Len() int

func (*CurveBN) String

func (c *CurveBN) String() string

Jump to

Keyboard shortcuts

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