@nathanfaucett/get_random_bytes

0.0.3 • Public • Published

getRandomBytes

getRandomBytes for the browser and node.js

var getRandomBytes = require("@nathanfaucett/get_random_bytes");


// returns Uint8Array with size 32 full of random bytes
var bytes = getRandomBytes(32);

Package Sidebar

Install

npm i @nathanfaucett/get_random_bytes

Weekly Downloads

7

Version

0.0.3

License

MIT

Last publish

Collaborators

  • nathanfaucett