搜索插件、代码仓与 APP 分类

插件详情v3.0.0+1

steel_crypt

一个全面的高级加密API库。此库支持哈希、密码哈希、双向加密、MAC身份验证以及密钥/IV生成。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
241
喜欢数
69
Pub 分数
130

安装插件

flutter pub add steel_crypt

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Steel Crypt 是一个全面的 Flutter/Dart 库,提供高级加密 API,用于安全的数据处理。它支持基本操作,包括哈希、密码哈希、双向加密、消息认证码(MAC)以及安全密钥/初始化向量(IV)生成。设计时兼顾简洁性和安全性,抽象了复杂的加密细节,同时确保跨平台的稳健性。非常适合需要数据完整性、机密性和安全凭据管理的应用。

适合场景

  • 安全密码存储
  • 静态数据加密
  • 消息认证
  • 安全密钥生成
  • 跨平台加密

主要特点

  • 高级API抽象
  • 支持多种加密操作
  • 跨平台兼容性
  • 安全的密钥和初始化向量生成
  • 内置密码哈希

适合对象

  • 需要安全数据存储的应用程序
  • 认证系统
  • 安全通信层
  • 注重隐私的应用程序
  • 开发者在缺乏深入加密知识的情况下优先考虑安全

使用建议

  • 需要了解加密最佳实践
  • 不适合低级别密码学研究
  • 取决于底层平台的安全性
  • 由于加密依赖项,应用大小可能增加
  • 最好与适当的输入验证和错误处理一起使用

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Steel Crypt 3.0 (BETA)

A comprehensive library of high-level, cryptographic API's, either manually defined or pulled from PointyCastle. This library currently supports hashing, symmetric two-way encryption, and key/IV generation. It also has a CLI, for conducting basic cryptography operations.

This library is a high-level wrapper over https://github.com/bcgit/pc-dart. It used to contain a fork of PointyCastle within it, but since the package came under the ownership of the BouncyCastle organization, the additions to the fork have been added upstream.


It takes time, effort, and mental power to keep this package updated, useful, and improving. If you used or are using the package, I'd appreciate it if you could spare a few dollars to help me continue development.

PayPal


Null Safety

This library has been fully ported to null safety. The version 3.0.0 is identical functionally to 2.3.1+6, except for this porting process. There may be some slight variance in the interface, due to parameters becoming required where they were formerly "optional" named parameters.


Note: Documentation

These docs have not been fully written yet! Steel Crypt 3.X comes with major changes, and will have a static website on GitHub Pages for documentation. For now, you can take a look at the API reference for more information on the beta's classes. Each class has fairly extensive documentation.


Note: RSA Deprecation

As I looked at the package landscape on pub.dev, it became clear to me that packages have become oversaturated, causing difficult decisions for independent developers. I fear contributing to this issue.

Additionally, I haven't studied asymmetric encryption; I don't feel comfortable working with it and don't think this package is adding much to the ecosystem as far as asymmetric encryption goes.

As of today, I will be deprecating RSA functionality in steel_crypt. It is clear to me that there are better packages for asymmetric encryption; I highly encourage affected users to check out https://pub.dev/packages/crypton. The dev there actively works on supporting asymmetric operations, more than I ever could, and has a deeper scope of features than this package would have ever had.


Pub License Commits

©2021 Aditya Kishore
Licensed under the Mozilla Public License 2.0

所属分类

依赖

依赖清单 2 项

源码仓库

使用此插件的项目