From b02ff940444b46b5bf978a86690f740e4534c6c8 Mon Sep 17 00:00:00 2001 From: Steven Troxler Date: Sat, 14 Mar 2020 14:32:08 -0700 Subject: [PATCH] Add `md5` to RustCrypto digest algorithms When migrating a codebase off of rust-crypto, I encountered a few uses of the md5 digest, and realized that it was missing from this advisory. Since deprecations are good onboarding tasks for folks new to rust (like me), I figured it would be helpful to explicitly state here that RustCrypto has an `md-5` crate you can use as (almost) a drop-in replacement --- crates/rust-crypto/RUSTSEC-2016-0005.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rust-crypto/RUSTSEC-2016-0005.toml b/crates/rust-crypto/RUSTSEC-2016-0005.toml index 52e2c24..3f35308 100644 --- a/crates/rust-crypto/RUSTSEC-2016-0005.toml +++ b/crates/rust-crypto/RUSTSEC-2016-0005.toml @@ -30,7 +30,7 @@ which algorithms you need: - [RustCrypto GitHub Org]: - AEAD algorithms: [`aes-gcm`], [`aes-gcm-siv`], [`aes-siv`], [`chacha20poly1305`], [`xsalsa20poly1305`] - Block ciphers: [`aes`], [`cast5`], [`des`] - - Digest algorithms: [`sha2`], [`sha3`], [`blake2`], [`ripemd160`] (legacy: [`sha-1`]) + - Digest algorithms: [`sha2`], [`sha3`], [`blake2`], [`ripemd160`], [`md-5`] (legacy: [`sha-1`]) - Key derivation: [`hkdf`] - MACs: [`cmac`], [`hmac`], [`pmac`], [`poly1305`] - Password hashing: [`pbkdf2`]