https://github.com/borud/keygen
Generic key generator for symmetric keys. Suitable for use with AES.
https://github.com/borud/keygen
Last synced: 11 months ago
JSON representation
Generic key generator for symmetric keys. Suitable for use with AES.
- Host: GitHub
- URL: https://github.com/borud/keygen
- Owner: borud
- License: apache-2.0
- Created: 2020-09-27T11:51:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-27T12:21:20.000Z (over 5 years ago)
- Last Synced: 2025-02-24T10:43:34.130Z (over 1 year ago)
- Language: Go
- Size: 1.4 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# keygen
This is just a simple random key generator for producing keys suitable
for use with AES or any other symmetric cipher. The default key size
is 256 bits.
The random generator used is the `crypto/rand` package from Go, so if
you want to evaluate whether this is sufficiently high quality for
your requirements you should investigate this package.
As a convenience the key is output as base64 (RFC 4648), hex encoded
and as a C style array for your cutting and pasting pleasure.
## Installing
go get -u github.com/borud/keygen/cmd/keygen