keygen

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AesCmd = &cmd.Command{
	Name:  "aes-keygen",
	Run:   runAes,
	Brief: "Generate AES key",

	Usage: `Usage: pocryp aes-keygen [-out OUTPUT] [-bin] NUM_BITS

Generate AES key.
Valid NUM_BITS: 128, 192, 256.

If -out is not specified, the output will be printed to stdout.
`,
}
View Source
var Ed25519Cmd = &cmd.Command{
	Name:  "ed25519-keygen",
	Run:   runEd25519,
	Brief: "Generate ED25519 key",

	Usage: `Usage: pocryp ed25519-keygen [-out OUTPUT] [-bin]

Generate ED25519 key.

If -out is not specified, the output will be printed to stdout.
`,
}
View Source
var RsaCmd = &cmd.Command{
	Name:  "rsa-keygen",
	Run:   runRsa,
	Brief: "Generate RSA key",

	Usage: `Usage: pocryp rsa-keygen [-out OUTPUT] NUM_BITS

Generate RSA key.
Valid NUM_BITS: 2048, 3072, 4096.

If -out is not specified, the output will be printed to stdout.
`,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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