Creating Strong passwords and OTP
Project description
Password and OTP Generator The Password and OTP Generator package provides a simple and versatile tool for generating secure passwords and one-time passwords (OTPs). With this package, you can easily generate passwords and OTPs of varying lengths and complexities to enhance the security of your applications.
Features: Password Generation: Generate passwords with a customizable number of letters, symbols, and numbers. Choose from predefined functions to generate passwords of specific lengths: four_digit_password(): Generates a 4-digit password with 2 letters, 1 symbol, and 1 number. six_digit_password(): Generates a 6-digit password with 4 letters, 1 symbol, and 1 number. eight_digit_password(): Generates an 8-digit password with 4 letters, 2 symbols, and 2 numbers. strong_password(): Generates a strong password with a random length between 8 and 10 characters, including a mix of letters, symbols, and numbers. OTP Generation: Generate one-time passwords (OTPs) with a customizable number of digits. Choose from predefined functions to generate OTPs of specific lengths: four_digit_otp(): Generates a 4-digit OTP. six_digit_otp(): Generates a 6-digit OTP. Usage: python Copy code
Example usage for generating passwords
import password_otp_generator
Generate a strong password
password = password_otp_generator.strong_password() print("Generated Strong Password:", password)
Generate a 6-digit OTP
otp = password_otp_generator.six_digit_otp() print("Generated OTP:", otp) Installation: Copy code pip install password-otp-generator
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for quickkeys-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 891b6517c2942ff06a1258fef345a84f924f081238e309526d522f862b132f17 |
|
MD5 | b59983024afbd145e58faad6918ac148 |
|
BLAKE2b-256 | 02fd0675049b610a7f7b19daa9cab63a874128d9093f6931d04d2d8237a7c049 |