Member-only story

Build A Password Generator Using Python

randerson112358
3 min readJul 16, 2021

--

Learn how to build a program to randomly generate a password

In this article, I will show you how to create your own password generator using the python programming language.

Benefits of Having an Automatically Generated Random Password

According to textmagic.com ,the benefits of using a random password generator are obvious: A strong password generated online can help you protect the security of your personal and professional email accounts, social network accounts, WiFi encryption, banking and financial and savings accounts.

Programming The Generator

First import the libraries that are needed for the program.

#Import the libraries
import string
import random

Next, get the information that is needed to generate the password like the number of characters and if the password should have numbers or special characters like punctuations.

#Get the information on what I need to generate

--

--

No responses yet