仪表盘
版本库
文件存储
活动
搜索
登录
刘苏义
/
ruoyi-api
分支自
ard/ruoyi-api
概况
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
提交
‘liusuyi’
2023-07-27
6b44b988edd13970fb982284799eaa4593002d89
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
uuid
/
lib
/
rng.js
1
2
3
4
5
6
7
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);
};