utils

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(src []byte) ([]byte, error)

Decode will decode the hex

func FirstUpper added in v0.3.0

func FirstUpper(s string) string

func GetUnexportedField added in v0.3.0

func GetUnexportedField(field reflect.Value) any

func SetUnexportedField added in v0.3.0

func SetUnexportedField(field reflect.Value, value any)

func ValidNumber

func ValidNumber(input string) *big.Int

ValidNumber returns a valid positive integer

func ZeroKey

func ZeroKey(k *ecdsa.PrivateKey)

ZeroKey removes the key from memory

Types

This section is empty.

Jump to

Keyboard shortcuts

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