Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( N *big.Int HalfN *big.Int )
holds ptr to secp256k1_context_struct (see secp256k1/include/secp256k1.h)
Functions ¶
func GenerateKeyPair ¶
func GeneratePubKey ¶
func RecoverPubkey ¶
RecoverPubkey returns the the public key of the signer. msg must be the 32-byte hash of the message to be signed. sig must be a 65-byte compact ECDSA signature containing the recovery id as the last element.
func VerifySeckeyValidity ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.