Documentation ¶
Index ¶
- func GenerateKeyPair() ([]byte, []byte)
- func GeneratePubKey(seckey []byte) ([]byte, error)
- func RecoverPubkey(msg []byte, sig []byte) ([]byte, error)
- func Sign(msg []byte, seckey []byte) ([]byte, error)
- func Stop()
- func VerifyPubkeyValidity(pubkey []byte) error
- func VerifySeckeyValidity(seckey []byte) error
- func VerifySignature(msg []byte, sig []byte, pubkey1 []byte) error
- func VerifySignatureValidity(sig []byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKeyPair ¶
func GeneratePubKey ¶
func RecoverPubkey ¶
recovers the public key from the signature recovery of pubkey means correct signature
func VerifyPubkeyValidity ¶
func VerifySeckeyValidity ¶
func VerifySignature ¶
for compressed signatures, does not need pubkey
func VerifySignatureValidity ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.