key

package
v0.0.0-...-45ae864 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MCed25519 = 0xED
	MCP256    = 0x1200
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	Raw  interface{}
	Type string
}

func (*Key) DID

func (k *Key) DID() string

func (*Key) RawBytes

func (k *Key) RawBytes() ([]byte, error)

func (*Key) Sign

func (k *Key) Sign(b []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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