signature

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2024 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCompact

func ParseCompact(signature []byte) (*ecdsa.Signature, error)

ParseCompact attempts to recover the ecdsa.Signature from the provided compact signature. The logic for this was taken from `ecdsa.RecoverCompact` as it is not exposed publicly.

func Verify

func Verify(signatureEncoded []byte, publicKey *btcec.PublicKey, messageHash []byte) error

Verify ensures that the signature for the message hash is valid for the public key given.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL