5.0.1 • Published 6 months ago

secure-random-bytes v5.0.1

Weekly downloads
340
License
MIT
Repository
github
Last release
6 months ago

secure-random-bytes

Retrieve a secure random byte string of a specified length.

Example

var randomBytes = require('secure-random-bytes');

randomBytes(10);
// => 'ÊïÜsóÐ\u0006\u0016mÏ'

Installation

$ npm install secure-random-bytes

API

var randomBytes = require('secure-random-bytes');

randomBytes(length)

Returns a String (whose length is length) of random bytes.

5.0.1

6 months ago

5.0.0

8 months ago

4.0.2

1 year ago

4.0.1

2 years ago

4.0.0

2 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

10 years ago

1.0.0

10 years ago