Skip to content

Strong-Password-Python

Compare
Choose a tag to compare
@suchsoak suchsoak released this 05 Nov 22:59
· 14 commits to main since this release
93416c6
__________                                                ___
\______   \____    ______ _______  _  __ ____ _______  __| _/
 |     ___/__  \  /  ___//  ___/ \/ \/ // __ \\_  __ \/ __ | 
 |    |    / __ \_\___ \ \___ \ \     /(  \_\ )|  | \/ /_/ | 
 |____|   (____  /____  \____  \ \/\_/  \____/ |__|  \____ | 
               \/     \/     \/                           \/ 
BY: suchsoak
Github: https://github.com/suchsoak  
V.1.0.1                        

[1] Strong
[2] Weak

Details

The password generator script uses the Python programming language and utilizes a variety of Python libraries such as colorama, random, string, and zxcvbn.

To generate a strong or weak password, the user must enter the number "1" or "2" when prompted.

If the user enters "1", the script generates a strong password using all ASCII characters, including lowercase, uppercase, digits, and punctuation. The length of the password is determined by the user's input.

If the user enters "2", the script generates a weak password using only lowercase and uppercase ASCII characters. The length of the password is determined by the user's input.

In both cases, the script stores the generated password in a text file named "password.txt". Additionally, the script uses the zxcvbn library to estimate the strength of the generated password and provides information about the password, such as its estimated strength, entropy, and a detailed breakdown of its composition.

To improve the script, consider adding features like the ability to generate multiple passwords, save generated passwords in separate files, or create passwords that meet specific strength requirements.