signsrv

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

New creates a new signsrv service.

func (*Service) PublicKey added in v0.0.3

func (s *Service) PublicKey() *babyjub.PublicKey

func (*Service) SignEthMsg added in v0.0.3

func (s *Service) SignEthMsg(msg []byte) (*babyjub.SignatureComp, error)

func (*Service) SignEthMsgDate added in v0.0.3

func (s *Service) SignEthMsgDate(msg []byte) (*babyjub.SignatureComp, int64, error)

Jump to

Keyboard shortcuts

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