Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/note.picotech.app/public_html/node_modules/rndm/ drwxr-xr-x | |
| Viewing file: Select action/file-type:
var assert = require('assert')
var base62 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'
var base36 = 'abcdefghijklmnopqrstuvwxyz0123456789'
var base10 = '0123456789'
exports = module.exports = create(base62)
exports.base62 = exports
exports.base36 = create(base36)
exports.base10 = create(base10)
exports.create = create
function create(chars) {
assert(typeof chars === 'string', 'the list of characters must be a string!')
var length = Buffer.byteLength(chars)
return function rndm(len) {
len = len || 10
assert(typeof len === 'number' && len >= 0, 'the length of the random string must be a number!')
var salt = ''
for (var i = 0; i < len; i++) salt += chars[Math.floor(length * Math.random())]
return salt
}
}
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0037 ]-- |