ed25519

package
v0.0.0-...-10e2fbd Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderName = "ED25519"

Variables

This section is empty.

Functions

func NewED25519KeyPair

func NewED25519KeyPair() (keys.KeyPair, error)

func NewED25519KeyPairFactory

func NewED25519KeyPairFactory() keys.KeyPairFactory

func StandardKeys

func StandardKeys() []keys.KeyPairFactory

Types

type ED25519KeyPair

type ED25519KeyPair struct {
	// contains filtered or unexported fields
}

func (*ED25519KeyPair) Private

func (keypair *ED25519KeyPair) Private() crypto.PrivateKey

func (*ED25519KeyPair) Public

func (keypair *ED25519KeyPair) Public() crypto.PublicKey

type ED25519KeyPairFactory

type ED25519KeyPairFactory struct{}

func (*ED25519KeyPairFactory) Name

func (factory *ED25519KeyPairFactory) Name() string

func (*ED25519KeyPairFactory) New

func (factory *ED25519KeyPairFactory) New() (keys.KeyPair, error)

Jump to

Keyboard shortcuts

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