| OLD | NEW |
| (Empty) | |
| 1 ## 2.0.2 |
| 2 |
| 3 * Prepare `HashSink` implementation for limiting integers to 64 bits in Dart |
| 4 language. |
| 5 |
| 6 ## 2.0.1 |
| 7 |
| 8 * Support `convert` 2.0.0. |
| 9 |
| 10 ## 2.0.0 |
| 11 |
| 12 **Note**: There are no APIs in 2.0.0 that weren't also in 0.9.2. Packages that |
| 13 would use 2.0.0 as a lower bound should use 0.9.2 instead—for example, `crypto: |
| 14 ">=0.9.2 <3.0.0"`. |
| 15 |
| 16 * `Hash` and `Hmac` no longer extend `ChunkedConverter`. |
| 17 |
| 18 ## 1.1.1 |
| 19 |
| 20 * Properly close sinks passed to `Hash.startChunkedConversion()` when |
| 21 `ByteConversionSink.close()` is called. |
| 22 |
| 23 ## 1.1.0 |
| 24 |
| 25 * `Hmac` and `Hash` now extend the new `ChunkedConverter` class from |
| 26 `dart:convert`. |
| 27 |
| 28 * Fix all strong mode warnings. |
| 29 |
| 30 ## 1.0.0 |
| 31 |
| 32 * All APIs that were deprecated in 0.9.2 have been removed. No new APIs have |
| 33 been added. Packages that would use 1.0.0 as a lower bound should use 0.9.2 |
| 34 instead—for example, `crypto: ">=0.9.2 <2.0.0"`. |
| 35 |
| 36 ## 0.9.2+1 |
| 37 |
| 38 * Avoid core library methods that don't work on dart2js. |
| 39 |
| 40 ## 0.9.2 |
| 41 |
| 42 * `Hash`, `MD5`, `SHA1`, and `SHA256` now implement `Converter`. They convert |
| 43 between `List<int>`s and the new `Digest` class, which represents a hash |
| 44 digest. The `Converter` APIs—`Hash.convert()` and |
| 45 `Hash.startChunkedConversion`—should be used in preference to the old APIs, |
| 46 which are now deprecated. |
| 47 |
| 48 * `SHA1`, `SHA256`, and `HMAC` have been renamed to `Sha1`, `Sha256`, and |
| 49 `Hmac`, respectively. The old names still work, but are deprecated. |
| 50 |
| 51 * Top-level `sha1`, `sha256`, and `md5` fields have been added to make it easier |
| 52 to use those hash algorithms without having to instantiate new instances. |
| 53 |
| 54 * Hashing now works correctly for input sizes up to 2^64 bytes. |
| 55 |
| 56 ### Deprecations |
| 57 |
| 58 * `Hash.add`, `Hash.close`, and `Hash.newInstance` are deprecated. |
| 59 `Hash.convert` should be used for hashing single values, and |
| 60 `Hash.startChunkedConversion` should be used for hashing streamed values. |
| 61 |
| 62 * `SHA1` and `SHA256` are deprecated. Use the top-level `sha1` and `sha256` |
| 63 fields instead. |
| 64 |
| 65 * While the `MD5` class is not deprecated, the `new MD5()` constructor is. Use |
| 66 the top-level `md5` field instead. |
| 67 |
| 68 * `HMAC` is deprecated. Use `Hmac` instead. |
| 69 |
| 70 * `Base64Codec`, `Base64Encoder`, `Base64Decoder`, `Base64EncoderSink`, |
| 71 `Base64DecoderSink`, and `BASE64` are deprecated. Use the Base64 APIs in |
| 72 `dart:convert` instead. |
| 73 |
| 74 * `CryptoUtils` is deprecated. Use the Base64 APIs in `dart:convert` and the hex |
| 75 APIs in the `convert` package instead. |
| 76 |
| 77 ## 0.9.1 |
| 78 |
| 79 * Base64 convert returns an Uint8List |
| 80 * Base64 codec and encoder can now take an encodePaddingCharacter |
| 81 * Implement a Base64 codec similar to codecs in 'dart:convert' |
| 82 |
| 83 ## 0.9.0 |
| 84 |
| 85 * ChangeLog starts here. |
| OLD | NEW |