source: trip-planner-front/node_modules/uuid/lib/rng.js@ 571e0df

Last change on this file since 571e0df was e29cc2e, checked in by Ema <ema_spirova@…>, 3 years ago

primeNG components

  • Property mode set to 100644
File size: 246 bytes
Line 
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
4var crypto = require('crypto');
5
6module.exports = function nodeRNG() {
7 return crypto.randomBytes(16);
8};
Note: See TracBrowser for help on using the repository browser.