Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 410 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 410 Bytes

Password Strength Estimator

A basic password strength estimator for Dart. Considers the length of the password, used characters, and whether or not the password appears in the top 10,000 most used passwords.

Usage

import 'package:password_strength/password_strength.dart';

...

double strength = estimatePasswordStrength('passw0rd');

if (strength < 0.3)
  print('This password is weak!');