elliptic

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BIP32ED25519 = "bip32"
)

Functions

func Ed25519

func Ed25519() *ed25519

func P256 added in v1.0.3

func P256() *ellipticCurve

func Secp256k1

func Secp256k1() *ellipticCurve

Types

type Curve

type Curve interface {
	elliptic.Curve

	Neg(x1, y1 *big.Int) (x, y *big.Int)
	Type() string
	Slip10SeedList() []byte
	CompressedPublicKey(secret *big.Int, method string) []byte
}

Jump to

Keyboard shortcuts

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