| Index: sdk/lib/io/crypto.dart
|
| diff --git a/sdk/lib/io/crypto.dart b/sdk/lib/io/crypto.dart
|
| index 96e4bd14f837b939f9ed0b9ea68f7b01f3224e8a..82cff5e5721282d7545afd5cc0053b9a5e8efb88 100644
|
| --- a/sdk/lib/io/crypto.dart
|
| +++ b/sdk/lib/io/crypto.dart
|
| @@ -234,8 +234,8 @@ abstract class _HashBase {
|
|
|
|
|
| // Compute the final result as a list of bytes from the hash words.
|
| - List<int> _resultAsBytes() {
|
| - var result = <int>[];
|
| + _resultAsBytes() {
|
| + var result = [];
|
| for (var i = 0; i < _h.length; i++) {
|
| result.addAll(_wordToBytes(_h[i]));
|
| }
|
| @@ -261,7 +261,7 @@ abstract class _HashBase {
|
| }
|
|
|
| // Convert a 32-bit word to four bytes.
|
| - List<int> _wordToBytes(int word) {
|
| + _wordToBytes(int word) {
|
| List<int> bytes = new List(_BYTES_PER_WORD);
|
| bytes[0] = (word >> (_bigEndianWords ? 24 : 0)) & _MASK_8;
|
| bytes[1] = (word >> (_bigEndianWords ? 16 : 8)) & _MASK_8;
|
|
|