ed25519

package
v1.17.57-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyPair added in v1.17.32

type KeyPair struct {
	Public  ed25519.PublicKey
	Private ed25519.PrivateKey
}

func Generate

func Generate(randRand *rand.Rand) (*KeyPair, error)

func (KeyPair) MarshalPem added in v1.17.32

func (a KeyPair) MarshalPem() (public []byte, private []byte, err error)

func (KeyPair) MarshalSSH added in v1.17.32

func (a KeyPair) MarshalSSH() (public []byte, private []byte, err error)

Jump to

Keyboard shortcuts

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