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

Unified Diff: lib/src/md5.dart

Issue 1359993003: Fix invocations of the MD5 constructors. (Closed) Base URL: git@github.com:dart-lang/crypto.git@master
Patch Set: Created 5 years, 3 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 | « lib/src/hash_sink.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/md5.dart
diff --git a/lib/src/md5.dart b/lib/src/md5.dart
index 1964bc20ad8f50ea1389ca704ddb995f2a5d0d33..c3d81bc6a7bbfabf1fa7274d49a14104d83c11c7 100644
--- a/lib/src/md5.dart
+++ b/lib/src/md5.dart
@@ -20,7 +20,7 @@ import 'utils.dart';
///
/// **Warning**: MD5 has known collisions and should only be used when required
/// for backwards compatibility.
-final md5 = new MD5._();
+final md5 = new MD5();
/// An implementation of the [MD5][rfc] hash function.
///
@@ -37,7 +37,7 @@ class MD5 extends Hash {
@Deprecated("Use the md5 field instead.")
MD5();
- MD5 newInstance() => new MD5._();
+ MD5 newInstance() => new MD5();
ByteConversionSink startChunkedConversion(Sink<Digest> sink) =>
new ByteConversionSink.from(new _MD5Sink(sink));
« no previous file with comments | « lib/src/hash_sink.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698