Skip to main content
Version: 1.1.0

passwordGenerator

This method returns a completely secure random password

Params

passwordGenerator(passwordLength);
  • passwordLength → You can specify the length of the password you want to be returned. By default, if you do not give this value, or give a number smaller than 8 or give a number greater than 64, the password will be returned with a length of 8 characters.

Returns

"r_YXST46!a7e"
  • String → Random password

Usage

passwordGenerator(12); //0n4P50F:4\zi

passwordGenerator(); //!2ky/J6N