utils

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonStatus added in v1.33.0

func JsonStatus(message string) []byte

func String2BigIntTuples added in v1.35.0

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

func String2PrivateKey added in v1.35.0

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

func String2PublicKey added in v1.35.0

func String2PublicKey(s string) *ecdsa.PublicKey

Types

type Signature

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

func String2Signature added in v1.35.0

func String2Signature(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