Documentation ¶
Index ¶
- Variables
- func GenerateSecretKeyHex() (sks B)
- func GetPublicKeyHex(sk S) (S, 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)
- func SecretToPubKeyBytes(skb B) (pk B, err E)
Constants ¶
This section is empty.
Variables ¶
View Source
var GeneratePrivateKey = func() B { return GenerateSecretKeyHex() }
Functions ¶
func GenerateSecretKeyHex ¶
func GenerateSecretKeyHex() (sks B)
func GetPublicKeyHex ¶
func GetPublicKeyHex(sk S) (S, E)
func HexPubkeyToBytes ¶ added in v0.1.5
func HexPubkeyToBytes[V B | S](hpk V) (pkb B, err E)
func IsValid32ByteHex ¶
func IsValidPublicKey ¶
func SecretBytesToPubKeyHex ¶
func SecretBytesToPubKeyHex(skb B) (pk S, err E)
func SecretToPubKeyBytes ¶
func SecretToPubKeyBytes(skb B) (pk B, err E)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.