createkey

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKey

func CreateKey(basename string) error

Generate a keyfile with given basename and password

func GenerateKeyPair

func GenerateKeyPair(basename, password string) error

Generates a crypt4gh key pair and saves it to `<basename>.pub.pem` and `<basename>.sec.pem`. If any of the files already exists, the function will instead return an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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