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
Click to show internal directories.
Click to hide internal directories.