No description
Find a file
2021-12-12 13:18:41 +00:00
example Initial commit 2021-12-07 16:14:45 +02:00
src Initial commit 2021-12-07 16:14:45 +02:00
tools first commit 2021-12-07 14:28:27 +02:00
LICENSE Update LICENSE 2021-12-08 11:52:23 +00:00
README.md Update README.md 2021-12-07 16:03:33 +00:00
zxcvbnim.nimble Update zxcvbnim.nimble 2021-12-12 13:18:41 +00:00

This is a zxcvbn clone for Nim. Zxcvbn is a low resource estimator for a realistic password strength. This is based on a Python implementation (https://github.com/dwolfhub/zxcvbn-python).

It does not support Decimal notation (and hence produces a valid json string). Decimal / bigInt score according to my understanding is a way to represent exact information. Zxcvbn(im) is a tool for estimation and only the magnitude should matter hence this is omitted for the sake of simplicity.

nimble install https://gitlab.com/jiiihpeeh/zxcvbnim/

The example directory has a sourcecode file for a standalone app. It compiles to a single file and binary should take under 2 megabytes of space (there is no need for a nim environment after compilation).

Install the nimble package as shown above and download the example directory. Compilation inside the example/ directory:

nim c zxcvbnim_cli.nim