webcrypto
Cross-platform implementation of Web Cryptography APIs for Dart.
0.6.1
25K downloads/mo
#1978 most downloaded on pub.dev
google/webcrypto.dart
What this package is like to depend on
Last release 3 months ago
22 May 2026
Release timing varies
gaps range from 2 weeks to 1.4 years
Nearly every release is documented
notes for 17 of 17 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
18 releases · first in 2020
2 releases in the last 12 months
see the full history below
Release timeline
18 releases · Aug 2020 to May 2026
2021
2022
2023
2024
2025
2026
Releases
latest 18-
0.6.122 May 2026Release notes
Open source →- Added Dart native build hooks and native asset lookup for the bundled
native library, enablingdart testfor the core package. webcryptois now packaged as a Dart package using native hooks instead of
Flutter plugin scaffolding.- Improved web error handling when
window.crypto.subtleis unavailable in
insecure contexts by throwing a clearerUnsupportedErrorwith guidance. - Added documentation for performing
deriveKeyusingderiveBitsand
importRaw.
Release notes
Open source →- Added Dart native build hooks and native asset lookup for the bundled
native library, enabling
dart testfor the core package. webcryptois now packaged as a Dart package using native hooks instead of Flutter plugin scaffolding.- Improved web error handling when
window.crypto.subtleis unavailable in insecure contexts by throwing a clearerUnsupportedErrorwith guidance. - Fixed native AES-CTR encryption and decryption for inputs larger than the internal chunk buffer.
- Added documentation for performing
deriveKeyusingderiveBitsandimportRaw.
- Added Dart native build hooks and native asset lookup for the bundled
-
0.6.017 Nov 2025Release notes
Open source →- Replaced the
KeyPairclass withtypedef KeyPair<T, S> = ({T privateKey, S publicKey})and refactored key generation methods to return a named record. - Bumped minimum required CMake version to
3.10for building the
bundled native library (flutter pub run webcrypto:setup).
Release notes
Open source →- Replaced the
KeyPairclass withtypedef KeyPair<T, S> = ({T privateKey, S publicKey})and refactored key generation methods to return a named record. - Bumped minimum required CMake version to
3.10for building the bundled native library (flutter pub run webcrypto:setup).
- Replaced the
-
0.5.812 Feb 2025Release notes
Open source →- All classes previously annotated
@sealedare nowfinal! - Migrate from Gradle Imperative Apply to Gradle Plugin DSL.
- Bumped Kotlin Version to 1.7.10.
- Removed the
GCC_WARN_INHIBIT_ALL_WARNINGSoption to ensure compatibitity with Xcode 16. - Code coverage is now 89% as reported to coveralls.io!
- Add support for compiling to WASM.
Release notes
Open source →- All classes previously annotated
@sealedare nowfinal! - Migrate from Gradle Imperative Apply to Gradle Plugin DSL.
- Bumped Kotlin Version to 1.7.10.
- Removed the
GCC_WARN_INHIBIT_ALL_WARNINGSoption to ensure compatibitity with Xcode 16. - Code coverage is now 89% as reported to coveralls.io!
- Add support for compiling to WASM.
- All classes previously annotated
-
0.5.701 Jul 2024Release notes
Open source →- Added compatibility for AGP 8.4.
- Improved API documentation for ECDH.
Bumped minimum Android SDK/ API level to 21, dropping support for Android 4 and below.
New Contributors
- @HamdaanAliQuatil made their first contribution in #103
- @TropicolX made their first contribution in #126
Full Changelog: 0.5.6...0.5.7
Release notes
Open source →- Added compatibility for AGP 8.4.
- Improved API documentation for ECDH.
- Bumped minimum Android SDK/ API level to 21, dropping support for Android 4 and below.
-
0.5.606 Mar 2024Release notes
Open source →- Disable LTO on Android to fix #80.
- Migrate to
dart:js_interopto ensure wasm compatibility.
Release notes
Open source →- Disable LTO on Android to fix #80.
- Migrate to
dart:js_interopto ensure wasm compatibility.
-
0.5.522 Feb 2024 -
0.5.412 Jan 2024Release notes
Open source →- Added MacOS desktop support.
- Added Windows desktop support.
- Additional API documentation.
- Add
topicstopubspec.yaml. - Bumped lower bound SDK constraint to require Dart
>= 3.0.0.
Release notes
Open source →- Added MacOS desktop support.
- Added Windows desktop support.
- Additional API documentation.
- Add
topicstopubspec.yaml. - Bumped lower bound SDK constraint to require Dart
>= 3.0.0.
-
0.5.318 Aug 2022Release notes
Open source →- Migrate to Flutter 3.0
- Added Linux desktop support.
- Fixed issues with
dart2jsin release mode.
Release notes
Open source →- Migrate to Flutter 3.0
- Added Linux desktop support.
- Fixed issues with
dart2jsin release mode.
-
0.5.215 Mar 2021Release notes
Open source →- Migrates
dart:ffis genericsizeOfuses, which will be removed in Dart 2.13.
- Migrates
-
0.5.115 Mar 2021Release notes
Open source →- Uses
package:ffigento generate the Dart bindings. - Bumped SDK constraint to Dart 2.12.
- Uses
-
0.5.003 Mar 2021Release notes
Open source →- Rolled forward all dependencies to Dart 2.12 previews.
- Migrated breaking changes for package:ffi version
1.0.0. - Bumped SDK constraint to Dart 2.12 beta.
-
0.5.0-null-safety.008 Dec 2020 pre-release -
0.2.202 Dec 2020Release notes
Open source →- Increased Flutter SDK constraint to
>=1.24.0-10.2.pre(current beta),
because API version breakage in dynamic linking API for Dart SDK. - Additional documentation for
RsassaPkcs1V15PrivateKeyand
RsassaPkcs1V15PublicKey.
Release notes
Open source →- Increased Flutter SDK constraint to
>=1.24.0-10.2.pre(current beta), because API version breakage in dynamic linking API for Dart SDK. - Additional documentation for
RsassaPkcs1V15PrivateKeyandRsassaPkcs1V15PublicKey.
- Increased Flutter SDK constraint to
-
0.2.124 Sep 2020Release notes
Open source →- Added finalizers for
ssl.EVP_PKEYand running tests undervalgrindunable to find any obvious memory leaks. - Increased Flutter SDK constraint to
>=1.22.0-12.1.pre(current beta).
- Added finalizers for
-
0.2.018 Sep 2020 -
0.1.215 Sep 2020Release notes
Open source →- Fixed sizeof
ssl.CBBcausing occasional segfaults, as we previously allocated too few bytes. - Ported
flutter pub run webcrypto:setupto work on Mac whencmakeis installed.
- Fixed sizeof
-
0.1.112 Sep 2020Release notes
Open source →- Removed unused code referencing
dart:cli, causing analysis errors on pub.dev. - Added more API documentation for
AesCbcSecretKey.
- Removed unused code referencing
-
0.1.010 Aug 2020