keys

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

GeneratePrivateKey - deprecated, use GenerateSecretKeyHex

Functions

func GenerateSecretKey added in v1.2.15

func GenerateSecretKey() (skb by, err er)

func GenerateSecretKeyHex

func GenerateSecretKeyHex() (sks st)

func GetPublicKeyHex

func GetPublicKeyHex(sk st) (pk st, err er)

func HexPubkeyToBytes

func HexPubkeyToBytes[V by | st](hpk V) (pkb by, err er)

func IsValid32ByteHex

func IsValid32ByteHex(pk st) bo

func IsValidPublicKey

func IsValidPublicKey(pk st) bo

func SecretBytesToPubKeyHex

func SecretBytesToPubKeyHex(skb by) (pk st, err er)

Types

This section is empty.

Jump to

Keyboard shortcuts

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