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