key

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0, MIT Imports: 6 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActSigType

func ActSigType(typ types.KeyType) crypto.SigType

Types

type Key

type Key struct {
	types.KeyInfo

	PublicKey []byte
	Address   address.Address
}

func GenerateKey

func GenerateKey(typ types.KeyType) (*Key, error)

func NewKey

func NewKey(keyinfo types.KeyInfo) (*Key, error)

Jump to

Keyboard shortcuts

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