Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: CHANGELOG.md

Issue 1355223002: Change Hash subclasses to be Converters. (Closed) Base URL: git@github.com:dart-lang/crypto.git@master
Patch Set: Add docs Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/src/digest.dart » ('j') | lib/src/digest_sink.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ccbe390fff6bcb5c24d788f56e76c65ea5ee8dcc..901d5b8f27c107109c9df385c46283cdd276b397 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,10 +1,21 @@
-# Changelog
+## 0.9.2
-## next
+* `Hash`, `MD5`, `SHA1`, and `SHA256` now implement `Converter`. They convert
+ between `List<int>`s and the new `Digest` class, which represents a hash
+ digest. The `Converter` APIs—`Hash.convert()` and
+ `Hash.startChunkedConversion`—should be used in preference to the old APIs,
+ which are now deprecated.
-* Hashing (md5, sha1, sha256) now works correctly for input sizes
- up to 64 bits.
-* Small example added to generate message digests for files.
+* Top-level `sha1`, `sha256`, and `md5` fields have been added to make it easier
+ to convert
Bob Nystrom 2015/09/22 17:47:31 " to convert..."?
nweiz 2015/09/22 21:37:33 Done.
+
+* Hashing now works correctly for input sizes up to 2^64 bytes.
+
+### Deprecations
+
+* `Hash.add`, `Hash.close`, and `Hash.newInstance` are deprecated.
+ `Hash.convert` should be used for hashing single values, and
+ `Hash.startChunkedConversion` should be used for hashing streamed values.
## 0.9.1
« no previous file with comments | « no previous file | lib/src/digest.dart » ('j') | lib/src/digest_sink.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698