Search packages, repositories and app categories

Package detailsv3.0.0+1

steel_crypt

A comprehensive library of high-level, cryptographic APIs. This library supports hashing, password hashing, two-way encryption, MAC authentication, and key/IV generation.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
241
Likes
69
Pub points
130

Install package

flutter pub add steel_crypt

Package Overview

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

Steel Crypt is a comprehensive Flutter/Dart library offering high-level cryptographic APIs for secure data handling. It supports essential operations including hashing, password hashing, two-way encryption, message authentication codes (MAC), and secure key/IV generation. Designed with simplicity and security in mind, it abstracts complex cryptographic details while ensuring robustness across platforms. Ideal for applications requiring data integrity, confidentiality, and secure credential management.

Use cases

  • Secure password storage
  • Data encryption at rest
  • Message authentication
  • Secure key generation
  • Cross-platform cryptography

Key features

  • High-level API abstraction
  • Supports multiple cryptographic operations
  • Cross-platform compatibility
  • Secure key and IV generation
  • Built-in password hashing

Suitable for

  • Apps needing secure data storage
  • Authentication systems
  • Secure communication layers
  • Privacy-focused applications
  • Developers prioritizing security without deep crypto knowledge

Considerations

  • Requires understanding of cryptographic best practices
  • Not suitable for low-level cryptographic research
  • Depends on underlying platform security
  • May increase app size due to crypto dependencies
  • Best used with proper input validation and error handling

Original README

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

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

Categories

Dependencies

Dependency list 2 items

Source repository

Projects using this package