Skip to content

ezgh keys generate-random

Generate random bytes.

Updated View as Markdown
ezgh keys generate-random --bytes n [flags]

Generate 1 to 1024 random bytes. They go to stdout as they are; -o json gives them in base64. No key is involved.

Part of ezgh keys.

Examples

ezgh keys generate-random --bytes 32 > seed.bin

Flags

Flag Type Default Description
--bytes int how many bytes, 1 to 1024

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close