secp256k1

package
v1.0.5006 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package secp256k1 implements the standard secp256k1 elliptic curve over prime fields.

Index

Constants

This section is empty.

Variables

View Source
var (
	OIDNamedCurveSecp256k1 = asn1.ObjectIdentifier{1, 3, 132, 0, 10}
)

Functions

func Curve

func Curve() elliptic.Curve

Curve returns the standard secp256k1 elliptic curve.

Multiple invocations of this function will return the same value, so it can be used for equality checks and switch statements.

The cryptographic operations are implemented using constant-time algorithms.

func S256 added in v1.0.2043

func S256() elliptic.Curve

Types

This section is empty.

Jump to

Keyboard shortcuts

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