dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
优化日志
‘liusuyi’
2023-09-19
d3fa75d27b2169cc0fffe6b8f0079e49dfa8c85f
[~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);
};