Skip to main content

Password/passphrase strength and health checker

Project description

Security Scanner

A package used to check the health and strength of passwords/passphrases.

How to use

After installing the package use following import:

from security_scanner import (
    check_password_strength,
    check_uniqueness,
    check_membership_in_rainbow_tables,
    check_rotation_activated
    )

Then use following commands:

password = getpass.getpass(prompt='Enter password: ')

if not check_password_strength(password):
    print("Password is weak")
elif not check_uniqueness(password):
    print("Password is not unique")
elif not check_membership_in_rainbow_tables(password):
    print("Password is in rainbow tables")
elif not check_rotation_activated(datetime.date(YEAR, MONTH, DAY), rotation_interval_days):
    print("password rotation is not activated")
else:
    print("Password is strong and unique, and password rotation is activated")

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

security_scanner-0.1.4.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

security_scanner-0.1.4-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

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