random-bytes-js
pseudo random bytes in javascript for the browser
demo: https://angeal185.github.io/random-bytes-js
Installation
npm
$ npm install random-bytes-js --save
bower
$ bower install random-bytes-js
git
$ git clone git@github.com:angeal185/random-bytes-js.git
browser
nodejs
const rbjs =
API
/** * @param * @param **/ // random bytes as stringrbjs // random bytes as Uint8 arrayrbjs // random bytes as numbered arrayrbjs // random bytes as numbered stringrbjs // random bytes to hexrbjs // random bytes to base64rbjs //demo let sync; sync = rbjs;console rbjs sync = rbjs;console rbjs sync = rbjs;console rbjs sync = rbjs;console rbjs sync = rbjs;console rbjs sync = rbjs;console rbjs