secp

package
v0.0.0-...-85922c0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Secp256k1Signer

type Secp256k1Signer struct{}

func (*Secp256k1Signer) Generate

func (s *Secp256k1Signer) Generate() ([]byte, error)

func (*Secp256k1Signer) Sign

func (s *Secp256k1Signer) Sign(privBytes, msg []byte) ([]byte, error)

func (*Secp256k1Signer) ToPublic

func (s *Secp256k1Signer) ToPublic(privBytes []byte) ([]byte, error)

func (*Secp256k1Signer) Verify

func (s *Secp256k1Signer) Verify(signature, pubKey, sighash []byte) error

Jump to

Keyboard shortcuts

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