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.
Click to show internal directories.
Click to hide internal directories.