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

Unified Diff: pkg/crypto/lib/src/sha256.dart

Issue 169363008: pkg/crypto: move tests to unittest package (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: feedback Created 6 years, 10 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 | « pkg/crypto/lib/src/sha1.dart ('k') | pkg/crypto/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/crypto/lib/src/sha256.dart
diff --git a/pkg/crypto/lib/src/sha256.dart b/pkg/crypto/lib/src/sha256.dart
index b429b8f192e56b09b493042cfb87e62bc8271f99..88b701ecc0ea4d69071446e93c6c1f7fe8b6e2d7 100644
--- a/pkg/crypto/lib/src/sha256.dart
+++ b/pkg/crypto/lib/src/sha256.dart
@@ -8,6 +8,8 @@ part of crypto;
* SHA256 hash function implementation.
*/
class SHA256 extends _HashBase {
+ final List<int> _w;
+
// Construct a SHA256 hasher object.
SHA256() : _w = new List(64), super(16, 8, true) {
// Initial value of the hash parts. First 32 bits of the fractional parts
@@ -102,6 +104,4 @@ class SHA256 extends _HashBase {
_h[6] = _add32(g, _h[6]);
_h[7] = _add32(h, _h[7]);
}
-
- final List<int> _w;
}
« no previous file with comments | « pkg/crypto/lib/src/sha1.dart ('k') | pkg/crypto/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698