📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-21 12:22:41
📂
/ (Root)
/
lib
/
node_modules
/
npm
/
node_modules
/
crypto-random-string
📍 /lib/node_modules/npm/node_modules/crypto-random-string
🔄 Refresh
✏️
Editing: index.js
Read Only
'use strict'; const crypto = require('crypto'); module.exports = len => { if (!Number.isFinite(len)) { throw new TypeError('Expected a finite number'); } return crypto.randomBytes(Math.ceil(len / 2)).toString('hex').slice(0, len); };
💾 Save Changes
❌ Cancel