Documentation ¶
Index ¶
- Variables
- func GenerateSecretKey() (skb B, err E)
- func GetPublicKeyHex(sk S) (pk S, err E)
- func HexPubkeyToBytes[V B | S](hpk V) (pkb B, err E)
- func IsValid32ByteHex(pk string) bool
- func IsValidPublicKey(pk string) bool
- func SecretBytesToPubKeyHex(skb B) (pk S, err E)
- type B
- type Ctx
- type E
- type N
- type S
Constants ¶
This section is empty.
Variables ¶
View Source
var GeneratePrivateKey = func() S { return GenerateSecretKeyHex() }
GeneratePrivateKey - deprecated, use GenerateSecretKeyHex
Functions ¶
func GenerateSecretKey ¶ added in v1.2.15
func GetPublicKeyHex ¶
func IsValid32ByteHex ¶
func IsValidPublicKey ¶
func SecretBytesToPubKeyHex ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.