View Source NotQwerty123.RandomPassword (NotQwerty123 v2.4.1)
Module to generate random passwords.
Users are often advised to use random passwords for authentication. However, creating truly random passwords is difficult for people to do well and is something that computers are usually better at.
This module provides the gen_password function, which generates
a random password.
Link to this section Summary
Functions
Generate a random password.
Link to this section Functions
Generate a random password.
Options
There are two options:
:length- length of the password, in characters- the default is
8 - the minimum length is
6
- the default is
:characters- the character set -:letters,:letters_digitsor:letters_digits_punc- the default is
:letters_digits, which will use letters and digits in the password :digitswill only use digits:letterswill use uppercase and lowercase letters:letters_digits_puncwill use letters, digits and punctuation characters
- the default is