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.2.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.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for stronger password package-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d9ee7498e810a7d619c1811cf836d951854d00d1270a3beb6af21c831c38c636
MD5 7d2ba7f76905a78ec19d104d182c9f07
BLAKE2b-256 db8e353a4c04a0cd4f03b66b2b3791a3d6b1b58c6885467553a832d754e12c78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stronger_password_package-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b731c0d5f8d04212a080e8807a3f2116d26243828d871ea253eb98c2ad1d4a68
MD5 d77afa8d54356620e0a8eb01f9b439cc
BLAKE2b-256 a05e6e3135d9ab0a20876c3258e7a84c61acc0918aaed562da74735db655feb5

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