Skip to main content

A package for password security

Project description

Stronger

This package provides several features related to password to your application.

Features

  • Password Generation
  • Strength Checker
  • Suggest Improvements
  • Breacher Password
  • Multi-factor authentication
  • Password Hash

Installation

To install the package, run the following command:

pip install stronger

Usage

Here's an example of how to use Stronger

How to use Password-generation:

from stronger.password_generator import generate_password

sentence = "Im Benny and i like pizza" password = generate_password(sentence) print(f"Generated password: {password}")

How to use Strength-checker:

from stronger.strength_checker import check_strength password = "MySecurePassword123" strength = your_package_name.check_strength(password)

if strength == True: print("Password is strong") else: print(strength)

How to use Suggest-improvements:

from stronger.suggest_improvements import improvements_suggest

password = "MyPassw0rd" strength = check_strength(password) if strength == True: print("Password is strong.") else: print(strength)

How to use Breacher-password:

from stronger.breached_password import password_breached

password = "MySecurePassword123" result = password_breached(password) if result != True: print(result)

How to use Multi-factor-authentication:

from stronger.multi_factor_authetication import MultiFactorAuth mfa = my_package.MultiFactorAuth() otp = mfa.generate_otp() is_valid = mfa.verify_otp(otp) if is_valid: print("OTP code is valid!") else: print("OTP code is not valid.")

How to use Password-hash:

from stronger.password_hash import HashPassword hp = HashPassword() hashed_password, salt = hp.hash_password('my_password') result = hp.verify_password('my_password', salt, hashed_password) if result: print("Password is valid.") else: print("Password is invalid.")

Contributing

Contributions are welcome. Please submit a pull request to contribute to this project.

License

This project is licensed under the MIT License.

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

stronger password package-1.0.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stronger_password_package-1.0.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file stronger password package-1.0.0.tar.gz.

File metadata

File hashes

Hashes for stronger password package-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6cf222918b5dd94661b456a42ccb074bc6eed55e0be3df5d6c8192b5619dcb7d
MD5 7c1f1c0fcc1838a1618307c90e6ee1d0
BLAKE2b-256 9fe0f225a8ed06681942a1183546ce5a9dc9a86327f7c4fd490e5652414bc688

See more details on using hashes here.

File details

Details for the file stronger_password_package-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for stronger_password_package-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f3f0edda54d220e7e33effd0dbf783fbe4f7fda250602b657c2d1e4d1e551d2
MD5 28ac36a97a45a8c9666fa1d04dcdd42c
BLAKE2b-256 3b978176cfec64c41f70a765cca05d0b615b3360bda12955ea52787d5deceb10

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