restore the kissu branding
[IRC-YouTube-Bot.git] / node_modules / uuid / lib / rng.js
blob58f0dc9cfb677c4eb388fd4ed843a0f5194e81a8
1 // Unique ID creation requires a high quality random # generator. In node.js
2 // this is pretty straight-forward - we use the crypto API.
4 var crypto = require('crypto');
6 module.exports = function nodeRNG() {
7 return crypto.randomBytes(16);
8 };