crypto

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAddressesDoesNotMatch = errors.New("addresses does not match")
	ErrInvalidSignature      = errors.New("invalid signature")
	ErrEthInvalidSignature   = errors.New("invalid ethereum signature")
)

Functions

func VerifyEthereumSignature

func VerifyEthereumSignature(message, signature []byte, hexAddress string) error

func VerifyVegaSignature

func VerifyVegaSignature(message, signature, pubkey []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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