4.0.1 • Published 7 months ago

secure-random-octet v4.0.1

Weekly downloads
351
License
MIT
Repository
github
Last release
7 months 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

7 months ago

4.0.0

8 months ago

3.0.2

1 year ago

3.0.1

2 years ago

3.0.0

2 years ago

2.0.0

3 years ago

1.0.4

3 years ago

1.0.3

5 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago