Chromium Code Reviews| 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 { |