Coders Packet

Strong Password Generation using Python

By Kaushik karthikeyan K

This Project is to develop Simple Strong Password Generation using Python code to protect our data and account against hackers.

Introduction:

By using This we can generate strong random passwords by using that we can protect our accounts like Facebook, Instagram with strong passwords so no one can crack it.

 

Modules Used:

String

Random

 

Coding:

import string
import random

def strongrandpassword():
    chars = string.ascii_letters + string.digits
    size = 3
    return ''.join(random.choice(chars) for x in range(size,27))

n = 0
while n < 50:
    print(strongrandpassword())
    n=n+1   

 

Output:

output

 

Conclusion:

In this project, we have learned about the random module and some functions in it and using that function to create strong random passwords.

Download project

Reviews Report

Submitted by Kaushik karthikeyan K (kousikrish)

Download packets of source code on Coders Packet