Update Files
This commit is contained in:
8
Kha/Tools/khamake/node_modules/uuid/lib/rng.js
generated
vendored
Normal file
8
Kha/Tools/khamake/node_modules/uuid/lib/rng.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
// Unique ID creation requires a high quality random # generator. In node.js
|
||||
// this is pretty straight-forward - we use the crypto API.
|
||||
|
||||
var crypto = require('crypto');
|
||||
|
||||
module.exports = function nodeRNG() {
|
||||
return crypto.randomBytes(16);
|
||||
};
|
Reference in New Issue
Block a user