Generate a cryptographically secure uint
npm install secure-random-uintGenerate a cryptographically secure uint.
`` javascript
var secureRandomUint = require('secure-random-uint');
secureRandomUint();
// => 4
`
` bash`
$ npm install secure-random-uint
` javascript``
var secureRandomUint = require('secure-random-uint');
Returns a cryptographically secure _Number_ uint. Uses
get-random-values, so an _Error_
will be thrown if there is no secure random number generator available.