npm.io
1.0.1 • Published 7 years ago

random-crypto-string

Licence
MIT
Version
1.0.1
Deps
0
Size
10 kB
Vulns
0
Weekly
0

random-crypto-string

There are a lot of node packages for generating random strings, most do so synchronously and a few might return you a random set of ints. This will return you real random strings of whatever length you wish asynchronously.

Usage

var randomCryptoString = require('random-crypto-string');
randomCryptoString(
    64,
    function(err, randomString) {
        console.log(randomString);
    }
);

Keywords