NotQwerty123 v1.0.0 NotQwerty123.RandomPassword

Module to generate random passwords and check password strength.

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.

The gen_password function generates a random password with letters, digits and punctuation characters.

Summary

Functions

Randomly generate a password

Functions

gen_password(len \\ 12)

Randomly generate a password.

This function creates a random password that is guaranteed to contain at least one digit and one punctuation character.

The default length of the password is 12 characters and the minimum length is 8 characters.