Release v2.

This commit is contained in:
Yang Chen
2019-12-07 18:09:02 +11:00
parent 9d0dad93a2
commit f079acaf6d
182 changed files with 14318 additions and 1 deletions
+8
View File
@@ -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);
};