BlueGit

blue-star danique-bot

Files

danique-bot / node_modules / uuid / lib / rng.js

rng.js

Import template
timfa Tim · pushed by timfa · 4 years ago
c788ad20 History
rng.js 246 B Download Raw
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};