hexo/node_modules/cuid/lib/fingerprint.react-native.js

9 lines
194 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
var pad = require('./pad.js');
var globalCount = Object.keys(global);
var clientId = pad(globalCount.toString(36), 4);
module.exports = function fingerprint () {
return clientId;
};