key

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(privKeyFile string, count int) ([]crypto.PrivKey, error)

Add generates "count" new 256-bit Ed25519 key pairs and saves the private keys to the given file ( base64 encoded).

func Load

func Load(privKeyFile string) ([]crypto.PrivKey, error)

Load attempts to load private key information from the given private key file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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