搜尋套件、儲存庫與 APP 分類

套件詳情v0.2.0

password_strength

一個密碼強度估計器。可用來顯示使用者所選擇的密碼是否能抵禦暴力破解或字典攻擊。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
19.4萬
喜歡數
157
Pub 分數
160

安裝套件

flutter pub add password_strength

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Flutter 套件,透過分析對暴力破解和字典攻擊的抵抗能力來估算密碼強度。它提供即時反饋給使用者,幫助他們建立更安全的密碼。該工具評估長度、字元多樣性以及常見模式等因素,為應用內提升密碼安全性提供簡單方式。適用於使用者輸入品質至關重要的驗證流程。

適用情境

  • 即時密碼驗證
  • 增強登入表單的安全性
  • 引導使用者設定更強的密碼
  • 整合到註冊工作流程中
  • 密碼欄位中的安全反饋
  • 提升應用驗證的可靠性

主要特色

  • 估算對暴力攻擊的抵抗能力
  • 分析字典攻擊漏洞
  • 提供密碼強度的即時反饋
  • 支援多種字元類型(小寫、大寫、數字、符號)
  • 輕量且易於整合
  • 適用於所有主要平台

適合對象

  • 驗證畫面
  • 用戶註冊表單
  • 密碼創建工具
  • 注重安全的應用程式
  • 開發人員優先考慮使用者安全
  • 需要強制使用強密碼的應用程式

使用建議

  • 不儲存或傳輸密碼
  • 無內建密碼雜湊
  • 僅依賴客戶端分析
  • 可能需要額外的驗證以確保合規
  • 在沒有額外措施的情況下,不適用於高安全性環境

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

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

所屬分類

原始碼儲存庫

使用此套件的專案

所在榜單