s256_pem

package module
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: MIT Imports: 7 Imported by: 0

README

go-secp256k1-pem

ECDSA secp256k1 curve with PEM file converter for private and public keys.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPemPair

func NewPemPair() ([]byte, []byte, error)

func PemToPrivateKey

func PemToPrivateKey(priv []byte) (*btcec.PrivateKey, error)

func PemToPublicKey

func PemToPublicKey(pub []byte) (*btcec.PublicKey, error)

func PrivateKeyToPem

func PrivateKeyToPem(priv *btcec.PrivateKey) ([]byte, error)

func PublicKeyToPem

func PublicKeyToPem(pub *btcec.PublicKey) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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