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

random_password_generator 封面
套件詳情v0.2.1

random_password_generator

一個新的 Flutter 套件,可協助為線上帳戶產生強密碼,並提供 Dart 的密碼強度估計器。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
1470
喜歡數
51
Pub 分數
160

安裝套件

flutter pub add random_password_generator

套件介紹

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

一個 Flutter 套件,可為線上帳戶產生強而安全的密碼,並包含密碼強度估計器。專為 Dart 設計,協助開發者透過可自訂標準建立隨機密碼,實現穩固的驗證功能。此套件支援 Android、iOS、Web、macOS、Windows 及 Linux 等多個平台,非常適合跨平台應用。它透過確保產生的密碼符合複雜性要求來提升安全性,並提供密碼強度回饋。

適用情境

  • 使用者帳戶的安全密碼建立
  • 在表單中整合密碼強度檢查
  • 在登入流程中自動產生密碼
  • 透過隨機密碼工具增強應用程式安全
  • 支援密碼恢復工作流程

主要特色

  • 產生加密強度高的隨機密碼
  • 包含內建的密碼強度估計
  • 可自訂密碼長度和字元集
  • 跨平台相容性
  • 與 Flutter 的簡單 API 集成
  • 即時強度反饋

適合對象

  • 開發安全驗證系統的開發者
  • 需要密碼管理功能的應用程式
  • 教育工具教學密碼安全
  • 需要自動密碼生成的應用程式
  • 重視用戶帳戶安全的團隊

使用建議

  • 確保正確處理儲存中的產生密碼
  • 驗證與特定安全策略的合規性
  • 在所有目標平台進行測試
  • 避免在客戶端代碼中暴露密碼生成邏輯
  • 在顯示生成的密碼時,請考慮使用者體驗
  • 定期審查依賴項更新

原始 README

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

random_password_generator

A new Flutter package for android and iOS also web which help generate strong password for online accounts and password strength estimator for Dart.

Usage


import 'package:random_password_generator/random_password_generator.dart';

...

final password = RandomPasswordGenerator();

String newPassword = password.randomPassword(true, false, true, false, 6);

double passwordstrength = password.checkPassword('hello');

if (passwordstrength < 0.3) 
    print('This password is weak!');
else if (passwordstrength < 0.7)
    print('This password is Good');
else
    print('This passsword is Strong');


pic

Getting Started

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。