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-password-package

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.3.tar.gz (5.2 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.3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for stronger password package-1.0.3.tar.gz
Algorithm Hash digest
SHA256 88cd38bc1d7013ebdef58be42a257ee7b69bd0ddbc77ab9365f7ec88d4110e73
MD5 98cda6578aede44f5ad8d1614b19a85b
BLAKE2b-256 2464f016ee5b1b0c8007585f8c6c805113112e9115c079f8108a7091566d03fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stronger_password_package-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 28b1243080eb2d1cf93cf69a0f04fd0b42b33f55b8a6f868aab4d7ba59d5eb52
MD5 86877ca937fc3bdbc3daeb92b22262fc
BLAKE2b-256 78e5c2409666baf5741754f9addb1a745a624fe1910320772992dbb4e8d32f6e

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