testing

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateEd25519Key

func GenerateEd25519Key() (ssh.PublicKey, []byte, error)

GenerateRSAKey generates a ed25519 key pair. The public key is returned as a ssh.PublicKey. The private key is returned as PEM data, serialized in the OpenSSH format.

func GenerateRSAKey

func GenerateRSAKey(bits int) (ssh.PublicKey, []byte, error)

GenerateRSAKey generates a RSA key pair. The public key is returned as a ssh.PublicKey. The private key is returned as PEM data, serialized in the OpenSSH format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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