[crypto] Prepare to publish 3.0.8 (#1026)
diff --git a/pkgs/crypto/CHANGELOG.md b/pkgs/crypto/CHANGELOG.md index 27555c3..a2c4fe0 100644 --- a/pkgs/crypto/CHANGELOG.md +++ b/pkgs/crypto/CHANGELOG.md
@@ -1,10 +1,16 @@ -## 3.0.8-wip +## 3.0.8 - Fix the sink returned by `Hmac.startChunkedConversion` not emitting a digest when `addSlice` is called with `isLast: true`. - Drop unused `pkg:typed_data` dependency. - Work-around [dart-lang/sdk#63747](https://github.com/dart-lang/sdk/issues/63747). -- Performance improvements for all hash functions, `md5` in particular. +- Speedup hashing 4 KiB inputs relative to version `3.0.7`: + + | Hash | AOT | dart2js | dart2wasm | + |-------------------|-------|---------|-----------| + | `md5` | 1.2x | 6.2x | 1.4x | + | `sha224`/`sha256` | 1.35x | 1.15x | 1.05x | + | `sha384`/`sha512` | 3.1x | 6.0x | 5.1x | ## 3.0.7
diff --git a/pkgs/crypto/pubspec.yaml b/pkgs/crypto/pubspec.yaml index 0b2a633..02aa143 100644 --- a/pkgs/crypto/pubspec.yaml +++ b/pkgs/crypto/pubspec.yaml
@@ -1,5 +1,5 @@ name: crypto -version: 3.0.8-wip +version: 3.0.8 description: Implementations of SHA, MD5, and HMAC cryptographic functions. repository: https://github.com/dart-lang/core/tree/main/pkgs/crypto issue_tracker: https://github.com/dart-lang/core/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Acrypto