keys

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: CC0-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GeneratePrivateKey = func() B { return GenerateSecretKeyHex() }

Functions

func GetPublicKey

func GetPublicKey(sk string) (string, error)

func IsValid32ByteHex

func IsValid32ByteHex(pk string) bool

func SecretBytesToPubKeyHex added in v0.0.9

func SecretBytesToPubKeyHex(skb B) (pk S, err E)

func SecretToPubKeyBytes added in v0.0.9

func SecretToPubKeyBytes(skb B) (pk B, err E)

Types

type B

type B = []byte

func GenerateSecretKeyHex

func GenerateSecretKeyHex() (sks B)

type E

type E = error

type N added in v0.0.14

type N = int

type S

type S = string

Jump to

Keyboard shortcuts

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