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

Unified Diff: lib/crypto/crypto.dart

Issue 10351008: Implement md5 hash in crypto library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reuploading Created 8 years, 8 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 | « no previous file | lib/crypto/hash_utils.dart » ('j') | lib/crypto/hash_utils.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/crypto/crypto.dart
diff --git a/lib/crypto/crypto.dart b/lib/crypto/crypto.dart
index f17c0f0e9c9c9d79aae83e3357eca9d592f381ae..217b613cd3e073cad420b2673ebc57591bf739f7 100644
--- a/lib/crypto/crypto.dart
+++ b/lib/crypto/crypto.dart
@@ -4,8 +4,9 @@
#library('crypto');
+#source('hash_utils.dart');
#source('hmac.dart');
-#source('sha_utils.dart');
+#source('md5.dart');
#source('sha1.dart');
#source('sha256.dart');
@@ -46,6 +47,13 @@ interface Hash {
}
/**
+ * MD5 hash function implementation.
Søren Gjesse 2012/05/03 13:31:12 We could mention the issues with MD5 here.
Mads Ager (google) 2012/05/08 08:32:37 Done.
+ */
+interface MD5 extends Hash default _MD5 {
+ MD5();
+}
+
+/**
* SHA1 hash function implementation.
*/
interface SHA1 extends Hash default _SHA1 {
« no previous file with comments | « no previous file | lib/crypto/hash_utils.dart » ('j') | lib/crypto/hash_utils.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698