Newer
Older
CVSS_3.0_GUI / dist / CVSS_3.0_Calc-1.0.0-linux-x64 / node_modules / nwjs-builder-phoenix / node_modules / request / node_modules / uuid / lib / rng.js
root on 7 May 2019 246 bytes Initial commit
  1. // Unique ID creation requires a high quality random # generator. In node.js
  2. // this is pretty straight-forward - we use the crypto API.
  3.  
  4. var crypto = require('crypto');
  5.  
  6. module.exports = function nodeRNG() {
  7. return crypto.randomBytes(16);
  8. };
Buy Me A Coffee