RSA private and public keys generator written in Go
make build
genrsa [--bits number] [--output filename] options: --bits: optional number of bits. default 4096 --output: optional output file name. default "rsa"
Private key will be written to output file name with extension .pem Public key will be written to output file name with extension .pub
Generating a RSA keys with bit size of 4096 to files my-key.pem and my-key.pub
./genrsa --bits 4069 --output my-key
- Go - Server Framework
- @PaulShpilsher - Software engineer and digital nomad
- Inspiration "Simple Made Easy" - Rich Hickey (2011)