Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidMsgLen = errors.New("invalid message length for signature recovery") ErrInvalidSignatureLen = errors.New("invalid signature length") ErrInvalidRecoveryID = errors.New("invalid signature recovery id") )
ErrInvalid defines error message
Functions ¶
func CurveScalarMult ¶
CurveScalarMult Curve Scalar Mult
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.