FLUTTER ECOSYSTEM

cryptography_flutter

Makes 'package:cryptography' use platform APIs in Android, iOS, and Mac OS X. The package can make performance up to 100 times better.

Latest version
2.3.4
30-day downloads
57.3K
Likes
37
Pub points
160

Package Overview

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

Overview

cryptography_flutter enables the use of native platform cryptographic APIs on Android, iOS, and macOS, significantly improving performance—up to 100 times faster than pure Dart implementations. It integrates seamlessly with the 'package:cryptography' library, leveraging system-level cryptography for enhanced speed and security. This package is ideal for applications requiring high-performance encryption, decryption, hashing, and key management. By offloading operations to native code, it reduces CPU usage and memory overhead, making it suitable for sensitive data processing in mobile and desktop environments.

Use cases
  • High-performance encryption in mobile apps
  • Secure key storage using platform APIs
  • Fast hashing for large data sets
  • Secure authentication workflows
  • Cross-platform crypto operations
Key features
  • Up to 100x performance improvement
  • Uses native OS cryptographic APIs
  • Seamless integration with package:cryptography
  • Reduced CPU and memory usage
  • Supports Android, iOS, and macOS
Suitable for
  • Performance-critical security applications
  • Apps handling sensitive user data
  • Developers using package:cryptography
  • Mobile and desktop apps needing fast crypto
  • Projects prioritizing system-level security
Considerations
  • Requires native platform access
  • Limited to supported platforms
  • Depends on underlying OS crypto stability
  • May increase app size slightly
  • Not suitable for web platforms
Supported platformsAndroidiOSmacOS

Install package

flutter pub add cryptography_flutter

Categories

Dependencies

Dependency list 1 items

Source repository

Related projects