Generate a cryptographically-random Uint8Array with the given number of bytes of entropy.
npm install crypto-random-uint8Generate a cryptographically-random Uint8Array with the given number of bytes of entropy.
``sh`
npm install crypto-random-uint8
`ts
import random from 'crypto-random-uint8';
// Let's get some random Uint8Arrays
random ( 8 ); // =>
random ( 16 ); // =>
random ( 32 ); // =>
random ( 64 ); // =>
``
MIT © Fabio Spampinato