// 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);
};
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| bytesToUuid.js | File | 747 B | 0644 |
|
| md5-browser.js | File | 6.66 KB | 0644 |
|
| md5.js | File | 576 B | 0644 |
|
| rng-browser.js | File | 1.28 KB | 0644 |
|
| rng.js | File | 246 B | 0644 |
|
| sha1-browser.js | File | 2.28 KB | 0644 |
|
| sha1.js | File | 579 B | 0644 |
|
| v35.js | File | 1.58 KB | 0644 |
|