Search packages, repositories and app categories

Package detailsv0.2.0

password_strength

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
194K
Likes
157
Pub points
160

Install package

flutter pub add password_strength

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that estimates password strength by analyzing resistance to brute force and dictionary attacks. It provides real-time feedback to users, helping them create more secure passwords. The tool evaluates factors like length, character variety, and common patterns, offering a simple way to improve password security within apps. Ideal for authentication flows where user input quality matters.

Use cases

  • Real-time password validation
  • Enhancing login form security
  • Guiding users to stronger passwords
  • Integrating into registration workflows
  • Security feedback in password fields
  • Improving app authentication reliability

Key features

  • Estimates resistance to brute force attacks
  • Analyzes dictionary attack vulnerability
  • Provides instant feedback on password strength
  • Supports multiple character types (lowercase, uppercase, numbers, symbols)
  • Lightweight and easy to integrate
  • Works across all major platforms

Suitable for

  • Authentication screens
  • User registration forms
  • Password creation tools
  • Security-focused applications
  • Developers prioritizing user security
  • Apps requiring strong password enforcement

Considerations

  • Does not store or transmit passwords
  • No built-in password hashing
  • Relies on client-side analysis only
  • May require additional validation for compliance
  • Not suitable for high-security environments without extra measures

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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!');

Categories

Source repository

Projects using this package

Rankings