Uname: Linux server230.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 198.54.115.51
Your Ip: 216.73.216.27
User: myflzuab (636) | Group: myflzuab (635)
Safe Mode: OFF
Disable Function:
NONE

name : index.js
'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);
};
© 2025 GrazzMean