Mohitkumar6122 / Password-Generator

Generate a secure password using the secrets and random module in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Password-Generator

Project 1 : Generate a secure password using the secrets module in python
Project 2 : Generate a secure password using the random module in python

Secret Module

The secrets module is used for generating cryptographically strong random numbers suitable for managing data such as passwords, account authentication, security tokens, and related secrets.

In particularly, secrets should be used in preference to the default pseudo-random number generator in the random module, which is designed for modelling and simulation, not security or cryptography.
Documentation : https://docs.python.org/3/library/secrets.html#:~:text=The%20secrets%20module%20is%20used,security%20tokens%2C%20and%20related%20secrets.

Random Module

This module implements pseudo-random number generators for various distributions.

For integers, there is uniform selection from a range. For sequences, there is uniform selection of a random element, a function to generate a random permutation of a list in-place, and a function for random sampling without replacement.
Documentation : https://docs.python.org/3/library/random.html

About

Generate a secure password using the secrets and random module in python


Languages

Language:Python 100.0%