Documentation ¶
Overview ¶
Package eckey
Package eckey
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrPublicKeyNotOnCurve indicates that the public key's (X, Y) coordinates do // not lie on the secp256k1 curve. ErrPublicKeyNotOnCurve = errors.New("Public key is not on secp256k1 curve") )
Functions ¶
func FromECDSAPub ¶
func NewPublicKeyCoords ¶
PublicKeyFromCoordinates serializes an (X, Y) coordinate pair into a public key. Returns nil if X or Y are nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.