4.0.1 • Published 2 years ago

secure-random-octet v4.0.1

Weekly downloads
351
License
MIT
Repository
github
Last release
2 years ago

secure-random-octet

Generate a cryptographically secure octet.

Example

var secureRandomOctet = require('secure-random-octet');

secureRandomOctet();
// => 4

Installation

$ npm install secure-random-octet

API

var secureRandomOctet = require('secure-random-octet');

secureRandomOctet()

Returns a cryptographically secure Number octet. Uses get-random-values, so an Error will be thrown if there is no secure random number generator available.

4.0.1

2 years ago

4.0.0

2 years ago

3.0.2

2 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.0

4 years ago

1.0.4

4 years ago

1.0.3

6 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago