Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKeyPair ¶
GenerateKeyPair generates an Ed25519 SSH key pair in memory and returns the private and public keys as strings. Nothing is written to disk.
privateKey: PEM-encoded private key (OpenSSH format). publicKey: Authorized-keys style single line (e.g. "ssh-ed25519 AAAA...").
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.