projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
.gitignore added
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
uuid
/
lib
/
rng.js
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
};