https://github.com/paulshpilsher/genrsa
RSA keys generator written in Go
https://github.com/paulshpilsher/genrsa
cryptography go pem publickey rsa
Last synced: 8 months ago
JSON representation
RSA keys generator written in Go
- Host: GitHub
- URL: https://github.com/paulshpilsher/genrsa
- Owner: PaulShpilsher
- Created: 2023-10-20T05:52:45.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-20T08:19:44.000Z (over 2 years ago)
- Last Synced: 2025-01-17T16:59:06.943Z (over 1 year ago)
- Topics: cryptography, go, pem, publickey, rsa
- Language: Go
- Homepage: https://github.com/PaulShpilsher/genrsa
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# genrsa
RSA private and public keys generator written in Go
## 📝 Table of Contents
- [Build](#build)
- [Usage](#usage)
- [Example](#example)
- [Built Using](#built_using)
- [Authors](#authors)
- [Acknowledgments](#acknowledgement)
```bash
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
```bash
./genrsa --bits 4069 --output my-key
```
## Built Using
- [Go](https://go.dev/) - Server Framework
- [@PaulShpilsher](https://github.com/PaulShpilsher) - Software engineer and digital nomad
- Inspiration ["Simple Made Easy" - Rich Hickey (2011)](https://www.youtube.com/watch?v=SxdOUGdseq4)