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

Side by Side Diff: lib/src/sha256.dart

Issue 1586453002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/crypto.git@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « lib/src/sha1.dart ('k') | lib/src/utils.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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.sha256;
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 [SHA256]. 13 /// An instance of [SHA256].
16 /// 14 ///
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 digest[0] = add32(a, digest[0]); 133 digest[0] = add32(a, digest[0]);
136 digest[1] = add32(b, digest[1]); 134 digest[1] = add32(b, digest[1]);
137 digest[2] = add32(c, digest[2]); 135 digest[2] = add32(c, digest[2]);
138 digest[3] = add32(d, digest[3]); 136 digest[3] = add32(d, digest[3]);
139 digest[4] = add32(e, digest[4]); 137 digest[4] = add32(e, digest[4]);
140 digest[5] = add32(f, digest[5]); 138 digest[5] = add32(f, digest[5]);
141 digest[6] = add32(g, digest[6]); 139 digest[6] = add32(g, digest[6]);
142 digest[7] = add32(h, digest[7]); 140 digest[7] = add32(h, digest[7]);
143 } 141 }
144 } 142 }
OLDNEW
« no previous file with comments | « lib/src/sha1.dart ('k') | lib/src/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698