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.
2.3.4
47K downloads/mo
#1507 most downloaded on pub.dev
dint-dev/cryptography
What this package is like to depend on
Last release 9 months ago
21 Nov 2025
Release timing varies
gaps range from 3 weeks to 2.2 years
Nearly every release is documented
notes for 12 of 12 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
14 releases · first in 2020
2 releases in the last 12 months
see the full history below
Release timeline
14 releases · Jun 2020 to Nov 2025Releases
latest 14-
2.3.421 Nov 2025 -
2.3.320 Nov 2025Release notes
Open source →Merge pull request #203 from dint-dev/fix/cryptography_flutter
Fix issues in cryptography_flutter.
Release notes
Open source →- Improves dependency constraints.
- Fixes problems when building the plugin.
-
2.3.221 Sep 2023 -
2.3.102 Sep 2023Release notes
Open source →- Raises Dart SDK minimum to 3.1.0 and other small changes related to dependency constraints.
- Fixes type inference warnings by Swift compiler.
-
2.3.011 Mar 2023Release notes
Open source →- Adds support for algorithms. In this version, the following operating system API adapters pass
tests:
- Android:
- FlutterAesGcm
- FlutterChacha20.poly1305Aead()
- FlutterHmac.sha1()
- FlutterHmac.sha224()
- FlutterHmac.sha256()
- FlutterHmac.sha384()
- FlutterHmac.sha512()
- FlutterPbkdf2()
- Apple operating systems:
- FlutterAesGcm
- FlutterChacha20.poly1305Aead()
- FlutterEd25519()
- FlutterEcdh.p256()
- FlutterEcdh.p384()
- FlutterEcdh.p521()
- FlutterEcdsa.p256()
- FlutterEcdsa.p384()
- FlutterEcdsa.p521()
- FlutterHmac.sha256()
- FlutterHmac.sha512()
- FlutterX25519()
- Android:
- Requires "package:cryptography" 2.5.0, which has enough DER encoding/decoding support for us to use Apple's CryptoKit ECDH/ECDSA functions.
- Adds support for reading names of crypto providers in Android.
- Adds more tests.
- Adds support for algorithms. In this version, the following operating system API adapters pass
tests:
-
2.2.004 Mar 2023Release notes
Open source →- Makes the package use the new convention for enabling Flutter plugins. You no longer need to call
CryptographyFlutter.enable()in yourmainfunction. - Improves documentation.
- Makes the package use the new convention for enabling Flutter plugins. You no longer need to call
-
2.1.103 Mar 2023 -
2.1.003 Mar 2023Release notes
Open source →- Many, major bug fixes.
- Some breaking changes to the API, but we decided not to increment the major version because we don't expect them to affect many developers (while we do want the bug fixes to reach everyone who uses the package).
- Many new features.
- We have a completely new test suite that ensures correctness and also reports performance with different input sizes.
-
2.0.209 Nov 2021Release notes
Open source →- Fixes "cryptography_flutter: Fix propagating error to Flutter + fix fallback to non-plugin encrypt/decrypt"
- Prints a debug message if a fallback to a Dart implementation happens because of an error.
- Updates dependency constraints and linting rules.
-
2.0.117 Jul 2021 -
2.0.003 Mar 2021 -
2.0.0-nullsafety.131 Dec 2020 pre-release -
2.0.0-nullsafety.031 Dec 2020 pre-releaseRelease notes
Open source →- Upgrades to package:cryptography version 2.x.
- Adds supports for AES and ChaCha20 in Android.
-
1.0.008 Jun 2020