A Command-Line tool for generating a cryptographically secure random bytes.
Install it from the sources:
git clone https://github.com/mukailasam/rand
cd rand
go installInstall it from the repository:
go install github.com/mukailasam/randPlease note that the script can only generates between 16 and 100000 bytes. The default value is 32 bytes and the output will be in hexadecimal format.
Write to the console:
rand -n <numberOfBytes>Write to a file:
rand -n <numberOfBytes> -o <file>