Documentation ¶
Index ¶
- Variables
- func GenerateSecretKey() (skb by, err er)
- func GenerateSecretKeyHex() (sks st)
- func GetPublicKeyHex(sk st) (pk st, err er)
- func HexPubkeyToBytes[V by | st](hpk V) (pkb by, err er)
- func IsValid32ByteHex(pk st) bo
- func IsValidPublicKey(pk st) bo
- func SecretBytesToPubKeyHex(skb by) (pk st, err er)
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.
Click to show internal directories.
Click to hide internal directories.