projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Further changes for the Use cases on the live site.
[yaffs-website]
/
node_modules
/
phantomjs-prebuilt
/
node_modules
/
uuid
/
lib
/
rng.js
1
// Unique ID creation requires a high quality random # generator. In node.js
2
// this is prett straight-forward - we use the crypto API.
3
4
var rb = require('crypto').randomBytes;
5
6
function rng() {
7
return rb(16);
8
};
9
10
module.exports = rng;