Skip to main content

Creating Strong passwords and OTP

Project description

quickkeys

The quickkeys 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

# Example usage for generating passwords
import quickkeys

# Generate a strong password
password = quickkeys.strong_password()
print("Generated Strong Password:", password)

# Generate a 6-digit OTP
otp = quickkeys.six_digit_otp()
print("Generated OTP:", otp)

Installation

pip install quickkeys

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

quickkeys-0.0.5.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file quickkeys-0.0.5.tar.gz.

File metadata

  • Download URL: quickkeys-0.0.5.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for quickkeys-0.0.5.tar.gz
Algorithm Hash digest
SHA256 56bef23d748cf0a4549b67fbcf0ffc9545325953ef2bc389dc288b265306c645
MD5 ee631ba6f51149c7ee9cf3c668c4ec13
BLAKE2b-256 5a9a660195f18fd92329fe3594db8fa49fb509f172d81779a9c1d3a3ddce7ab4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page