Generate a cryptographically secure uint
MIT License
Generate a cryptographically secure uint.
var secureRandomUint = require('secure-random-uint');
secureRandomUint();
// => 4
$ npm install secure-random-uint
var secureRandomUint = require('secure-random-uint');
secureRandomUint()
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.