| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library crypto.md5; | |
| 6 | |
| 7 import 'dart:convert'; | 5 import 'dart:convert'; |
| 8 import 'dart:typed_data'; | 6 import 'dart:typed_data'; |
| 9 | 7 |
| 10 import 'digest.dart'; | 8 import 'digest.dart'; |
| 11 import 'hash.dart'; | 9 import 'hash.dart'; |
| 12 import 'hash_sink.dart'; | 10 import 'hash_sink.dart'; |
| 13 import 'utils.dart'; | 11 import 'utils.dart'; |
| 14 | 12 |
| 15 /// An instance of [MD5]. | 13 /// An instance of [MD5]. |
| 16 /// | 14 /// |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 _shiftAmounts[i])); | 118 _shiftAmounts[i])); |
| 121 a = temp; | 119 a = temp; |
| 122 } | 120 } |
| 123 | 121 |
| 124 digest[0] = add32(a, digest[0]); | 122 digest[0] = add32(a, digest[0]); |
| 125 digest[1] = add32(b, digest[1]); | 123 digest[1] = add32(b, digest[1]); |
| 126 digest[2] = add32(c, digest[2]); | 124 digest[2] = add32(c, digest[2]); |
| 127 digest[3] = add32(d, digest[3]); | 125 digest[3] = add32(d, digest[3]); |
| 128 } | 126 } |
| 129 } | 127 } |
| OLD | NEW |