Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / uuid / lib / rng.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/uuid/lib/rng.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/uuid/lib/rng.js
new file mode 100644 (file)
index 0000000..58f0dc9
--- /dev/null
@@ -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);
+};