password_strength 0.2.0 copy "password_strength: ^0.2.0" to clipboard
password_strength: ^0.2.0 copied to clipboard

A password strength estimator. Can be used to show the user whether the password they chose is strong against bruteforce or dictionary attacks.

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!');
copied to clipboard
131
likes
160
points
226k
downloads

Publisher

verified publisherjulien-scholz.dev

Weekly Downloads

2024.09.14 - 2025.03.29

A password strength estimator. Can be used to show the user whether the password they chose is strong against bruteforce or dictionary attacks.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on password_strength