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 install
Install it from the repository:
go install github.com/mukailasam/rand
Please 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>