Password-Generator

所属分类:系统/网络安全
开发工具:HTML
文件大小:0KB
下载次数:0
上传日期:2023-10-24 22:04:02
上 传 者sh-1993
说明:  该存储库是一个密码生成器,其逻辑是用Python编程的,可以在本地使用main.py运行。对于web预览u...,
(This repository is a password generator which its logic was programmed in Python, and can be run using main.py locally. For web preview uses, use the main.py file and make sure you have all packages in requirement.txt installed. This project is Open-Source and Free-To-Use.)

文件列表:
app.py (1167, 2023-12-11)
main.py (650, 2023-12-11)
requirements.txt (6, 2023-12-11)
templates/ (0, 2023-12-11)
templates/index.html (2218, 2023-12-11)

# Password-Generator This repository is a password generator project programmed with the Python Programming Language. You can access it using main.py or app.py, more information in below. # All rights are reserved if certain code of the process (refrence is main.py) is found online. The web preview is completely authorised by the author, and all rights are reserved to him. # File Usage The main.py is for the following: Running locally in your console/terminal The app.py needs to be paired up with the templates folder and made sure all packages are installed in requirements.txt for the following: To run the web preview of the code, using Flask ---> More information in Testing and Use Section # Testing and Use You can test the code fully by running the app.py file (while ultimately making sure you have every package in requirements.txt installed), which is a web preview of the code in action using Flask. (HTML, CSS, PYTHON) FROM AUTHOR: This project is 100% Open-Source and free of use, however, I would highly appreciate if you could include my name, or this repository if used for public necessities. It's not a must, but a highly appreciated action. # General Information & How it Works The Password-Generator works by taking the user's input for the desired password length, and then it utilizes the 'random' module in Python to create a randomized password using a predefined set of characters. This happens in order by the following steps: 1. The program starts by collecting the desired length of the password as an integer using the input() function. 2. It defines a list of characters called characters that the password will be generated from. These characters include uppercase and lowercase letters, digits, and some special symbols. 3. The program shuffles the characters list to randomize the order of the characters. 4. Next, it iterates through the characters list, selecting random characters to create the password of the desired length. The selected characters are stored in the password list. 5. The password list is then shuffled again to mix up the characters even further. 6. The password list, which now contains the randomized characters for the password, is converted into a string. 7. Finally, the generated password is printed to the console. 8. Additonal Note: The output may be varied depending on which script/preview you are using (Custom Made By Author Web Preview --- Standard Python Preview Code, Made By Author)

近期下载者

相关文件


收藏者