keys

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratesECDSAKeys

func GeneratesECDSAKeys(bitSize int) (privateKeyFile, publicKeyFile []byte)

GeneratesECDSAKeys generates a new ECDSA key pair and returns the private and public keys in PEM format.

func GeneratesED25519Keys

func GeneratesED25519Keys() (privateKeyFile, publicKeyFile []byte)

GeneratesED25519Keys generates a new EdDSA key pair and returns the private and public keys in PEM format.

func GeneratesRSAKeys

func GeneratesRSAKeys(bitSize int) (privateKeyFile, publicKeyFile []byte)

GeneratesRSAKeys generates a new RSA key pair and returns the private and public keys in PEM format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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