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

套件詳情v2.9.0

cryptography

用於加密、數位簽章、金鑰協商、驗證及雜湊的加密演算法。包含 AES、Chacha20、ED25519 等。跨平台(行動裝置、桌面、JS、WASM)。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
133萬
喜歡數
315
Pub 分數
130

安裝套件

flutter pub add cryptography

套件介紹

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

加密套件提供一組完整的加密演算法,用於加密、數位簽章、金鑰協商、驗證與雜湊。支援廣泛使用的標準,如 AES、Chacha20 與 ED25519,確保跨平台的強大安全性。專為跨平台使用設計,可於 Android、iOS、Web、macOS、Windows 及 Linux 上順暢運作。以 Dart 建構,讓開發者能於需要隱私性、完整性與認證之應用程式中實作安全資料處理。此套件由 dint.dev 維護,並於 GitHub 上開放原始碼。

適用情境

  • 安全數據存儲
  • 端對端加密
  • 數位簽章驗證
  • 驗證令牌生成
  • 安全的API通訊
  • 金鑰交換協議

主要特色

  • 支援 AES、Chacha20、ED25519
  • 跨平台相容性
  • 在所有目標上均表現出高性能量
  • 開源且持續維護
  • 簡單的 Dart API
  • 現代安全的加密原語

適合對象

  • 行動應用開發者
  • Web應用程式安全
  • 需要加密的桌面應用程式
  • 區塊鏈或加密貨幣相關應用
  • 需要安全密鑰管理的應用程式

使用建議

  • 需要了解密碼學最佳實踐
  • 未具專業知識,不適合用於原始加密實作
  • 可能會稍微增加應用大小
  • 依賴於某些操作的平台特定原生程式碼
  • 最佳搭配適當的安全設計模式使用

原始 README

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

Pub Package Github Actions CI

Overview

Cryptographic packages for Dart / Flutter developers. Open-sourced under the Apache License 2.0.

Maintained by terrier989. Licensed under the Apache License 2.0.

Packages

  • cryptography
    • Cryptography API for Dart / Flutter.
    • Contains cryptographic algorithm implementations written in pure Dart.
    • Contains cryptographic algorithm implementations that use Web Cryptography API in browsers.
  • cryptography_flutter
    • Contains cryptographic algorithm implementations that use operating system APIs in Android and Apple operating systems (iOS, Mac OS X, etc.).
  • cryptography_flutter_integration_test
    • Integration test project for "cryptography_flutter".
  • cryptography_test
    • Cross-platform tests. Note that "cryptography" and "cryptography_flutter_integration_test" contain more tests than just these.
  • jwk
    • JWK (JSON Web Key) encoding / decoding.

Contributing

Please share feedback / issue reports in the issue tracker.

Pull requests are welcome.

Testing

所屬分類

依賴

依賴清單 5 項

原始碼儲存庫

使用此套件的專案