From 29990f9dc84468b905482a0a0cbd9cfb102a1cae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Tue, 12 May 2026 18:51:59 +0300 Subject: [PATCH 1/2] md5: add note about library renaming --- md5/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/md5/README.md b/md5/README.md index 2248d95f4..69d5fcc87 100644 --- a/md5/README.md +++ b/md5/README.md @@ -22,6 +22,12 @@ Collision attacks against MD5 are both practical and trivial, and [RFC 6151] advises no new IETF protocols can be designed MD5-based constructions, including HMAC-MD5. +## Library name + +Note that this crate is named as `md-5` (the `md5` crate is not part of the RustCrypto project), +but it renames the library to `md5`. In other words, in your Cargo.toml you should use +`md_5 = "0.11"`, but in you source code imports from this crate will look like `use md5::Md5;` + ## Examples ```rust From 55dcbaaad4b1b2c1fcddf08f0f9078a5cf65bb15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Tue, 12 May 2026 18:54:31 +0300 Subject: [PATCH 2/2] add dot --- md5/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/md5/README.md b/md5/README.md index 69d5fcc87..d0beb244e 100644 --- a/md5/README.md +++ b/md5/README.md @@ -26,7 +26,7 @@ including HMAC-MD5. Note that this crate is named as `md-5` (the `md5` crate is not part of the RustCrypto project), but it renames the library to `md5`. In other words, in your Cargo.toml you should use -`md_5 = "0.11"`, but in you source code imports from this crate will look like `use md5::Md5;` +`md_5 = "0.11"`, but in you source code imports from this crate will look like `use md5::Md5;`. ## Examples