Home Reference Source

jsGen, phpGen

(Symbol, Number, ASCII Generator, (The best way of doing so))

A simple tool to generate random strings of anything. Numbers, strings, ascii, and more

Include jsGen into your project <script type="text/javascript" src="jsGen.min.js"></script>

Functions (JavaScript)

`(x) = int

jsGen.getKeys(33,57); // output: !"#$%&'()*+,-./0123456789

jsGen.getRandomAOA(33); // output: w$g4guY;>+lYws>lMTlULj7@>17M{OT3I

jsGen.genRandomCharCodes(25); // output: 袈ꭗ㍯鏾볊쯲辗㙈顓�徬糴둢ሂ걜ư묱죫稼Ⱋ혾冹鿂

jsGen.genRandomNumbers(10) // output: 4326638780

jsGen.genRandomUTF8(15); // output: wqsvJKDWGRXvvJA

jsGen.genSerial(4,5); // output: Hw5FL-XmMRj-8IxCr-iavrY-jM1Ak

jsGen.genSerials(4,5,2);

Output:

k5xVA-OzdGy-qv3RL-xF37B-QUK5s

FLzmK-IXjL6-WAAsC-3skK8-WqTWL

jsGen.each("genRandomCharCodes()",5, 5);

Output:

음ㆩᆈ㑃洢

䜘�ㆳᕇ

�෤仝돒㬗

㊽䠐�

s튖滬鳁

Functions (PHP)

(x) = Length of random object

Usage: include 'phpGen.php';

$phpGen = new phpGen();

More coming soon