Skip to main content

A password strength meter (PSM) with CKL_PCFG model

Project description

Chunk level PCFG Library

We offer a chunk level PCFG library for password strength query. We hope this will help password manager create more secure tokens.

How to build

cd backend
# Install ckl_psm to current python environment
python setup.py install

or install by pip

pip install ckl-psm

How to use

# Import ckl_psm and make sure you have installed the library
from ckl_psm import ckl_pcfg as psm

# Strength query for given password
result = psm.check_pwd("123456")

# The result is consist of four parts:
print(
    result["guess_number"],
    result["segments"],
    result["chunks"],
    result["prob"]
)

Project details


Release history Release notifications | RSS feed

This version

1.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ckl_psm-1.2.tar.gz (39.4 MB view hashes)

Uploaded Source

Built Distribution

ckl_psm-1.2-py3-none-any.whl (79.0 MB 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