A nodejs barebone implementation of pseudorandom number generator (uses entropy from a third-party source)
Ensure following are installed
- node
- npm
- yarn
- Get dependencies by running
$ yarn
- Make
./index.js
executablechmod +x ./index.js
- Use -hex or -h for Hexadecimal random string
$ ./index.js random --hex
- Use -binary or --b for Binary random string
$ ./index.js random --binary