secp256k1util

package
v2.1.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DerivePubKey

func DerivePubKey(privKey secp256k1.PrivKey) secp256k1.PubKey

func PrivKeyFromBytes

func PrivKeyFromBytes(bz []byte) (secp256k1.PrivKey, error)

PrivKeyFromBytes converts a byte slice into a Secp256k1 private key. It returns an error when the length of the input is invalid.

func PubKeyBytes

func PubKeyBytes(pubKey secp256k1.PubKey) []byte

func PubKeyFromBase58

func PubKeyFromBase58(b58 string) (secp256k1.PubKey, error)

PubKeyFromBase58 decodes a base58-encoded Secp256k1 public key. It returns an error when the length of the input is invalid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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