Skip to content

mukailasam/rand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rand

A Command-Line tool for generating a cryptographically secure random bytes.

Image

Install

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

Usage

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>