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 details)

Uploaded Source

Built Distribution

ckl_psm-1.2-py3-none-any.whl (79.0 MB view details)

Uploaded Python 3

File details

Details for the file ckl_psm-1.2.tar.gz.

File metadata

  • Download URL: ckl_psm-1.2.tar.gz
  • Upload date:
  • Size: 39.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

File hashes

Hashes for ckl_psm-1.2.tar.gz
Algorithm Hash digest
SHA256 7c0f86d702274ace8d51d620900ff603d2f809fe7428514adf4f52bbeaeddf90
MD5 b557785f4889c867b0ebe3472cf01c61
BLAKE2b-256 7f49085eab1997a79908b3f8132a55b0cfd933f3baff881e2a05604e35d7ce2e

See more details on using hashes here.

File details

Details for the file ckl_psm-1.2-py3-none-any.whl.

File metadata

  • Download URL: ckl_psm-1.2-py3-none-any.whl
  • Upload date:
  • Size: 79.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

File hashes

Hashes for ckl_psm-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c1760c4141b888567511af7549f2009660bf21b4aa8d8c93bed4176718b4d0f7
MD5 1dedd2b835b2ab48cde393fa04b968a0
BLAKE2b-256 cd893ee781704de35eeee9514940f69f2364f3666e7e3bb797020b45fbf59aa7

See more details on using hashes here.

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