FLUTTER ECOSYSTEM

cryptography

Cryptographic algorithms for encryption, digital signatures, key agreement, authentication, and hashing. AES, Chacha20, ED25519, and more. Cross-platform (mobile, desktop, JS, WASM).

Latest version
2.9.0
30-day downloads
803K
Likes
314
Pub points
130

Package Overview

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

Overview

The cryptography package provides a comprehensive set of cryptographic algorithms for encryption, digital signatures, key agreement, authentication, and hashing. It supports widely used standards such as AES, Chacha20, and ED25519, ensuring strong security across platforms. Designed for cross-platform use, it works seamlessly on Android, iOS, Web, macOS, Windows, and Linux. Built with Dart, it enables developers to implement secure data handling in applications requiring privacy, integrity, and authentication. The package is maintained by dint.dev and open-source on GitHub.

Use cases
  • Secure data storage
  • End-to-end encryption
  • Digital signature verification
  • Authentication token generation
  • Secure API communication
  • Key exchange protocols
Key features
  • Supports AES, Chacha20, ED25519
  • Cross-platform compatibility
  • High performance on all targets
  • Open-source and actively maintained
  • Simple Dart API
  • Cryptographic primitives for modern security
Suitable for
  • Mobile app developers
  • Web application security
  • Desktop applications requiring encryption
  • Blockchain or crypto-related apps
  • Applications needing secure key management
Considerations
  • Requires understanding of cryptographic best practices
  • Not suitable for raw crypto implementation without expertise
  • May increase app size slightly
  • Depends on platform-specific native code for some operations
  • Best used with proper security design patterns
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add cryptography

Categories

Dependencies

Dependency list 5 items

Source repository

Related projects