secp256k1util

package
v0.0.0-...-3aeaace Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 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