utils

package
v0.0.0-...-6d37b2d Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonStatus

func JsonStatus(message string) []byte

func PrivateKeyFromString

func PrivateKeyFromString(s string, publicKey *ecdsa.PublicKey) *ecdsa.PrivateKey

func PublicKeyFromString

func PublicKeyFromString(s string) *ecdsa.PublicKey

func String2BigIntTuple

func String2BigIntTuple(s string) (big.Int, big.Int)

Types

type Signature

type Signature struct {
	R *big.Int
	S *big.Int
}

func SignatureFromString

func SignatureFromString(s string) *Signature

func (*Signature) String

func (s *Signature) String() string

Jump to

Keyboard shortcuts

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