zxcvbnim

A zxcvbn clone for Nim. Written in Nim

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version 0.3.0
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-08-10 05:37

Tags

Authors

  • juujaa

Installation

nimble install zxcvbnim
choosenim install zxcvbnim
git clone https://github.com/jiiihpeeh/zxcvbnim

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
zxcvbnim - - - - - - -

Dependencies

Package Version Optional
nim >= 1.4.8", "jsony", "supersnappy No

Source

Repository https://github.com/jiiihpeeh/zxcvbnim
Homepage https://github.com/jiiihpeeh/zxcvbnim
Registry Source nimble_official

README

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