25 references to MD5
Microsoft.CodeAnalysis.UnitTests (1)
Emit\EmitOptionsTests.cs (1)
141pdbChecksumAlgorithm: HashAlgorithmName.MD5); // CodeQL [SM02196] This is testing an algorithm that our codebase must support for PDBs
System.Net.Security (5)
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (5)
417using (var hmac = IncrementalHash.CreateHMAC(HashAlgorithmName.MD5, ntlm2hash)) 443using (var md5 = IncrementalHash.CreateHash(HashAlgorithmName.MD5)) 554using (var md5 = IncrementalHash.CreateHash(HashAlgorithmName.MD5)) 679using (var hmacMic = IncrementalHash.CreateHMAC(HashAlgorithmName.MD5, exportedSessionKey)) 722using (var hmac = IncrementalHash.CreateHMAC(HashAlgorithmName.MD5, signingKey))
System.Security.Cryptography (12)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EVP.DigestAlgs.cs (1)
151case nameof(HashAlgorithmName.MD5): return EvpMd5();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
30hashAlgorithm = HashAlgorithmName.MD5;
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanDerivation.cs (1)
143HashAlgorithmName.MD5,
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
96digestAlgorithmName = HashAlgorithmName.MD5; 100digestAlgorithmName = HashAlgorithmName.MD5;
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
22(HashAlgorithmName.MD5, 128, 512),
System\Security\Cryptography\CapiHelper.Unix.cs (3)
47MD5 => HashAlgorithmName.MD5, 61Oids.Md5 => HashAlgorithmName.MD5, 78return HashAlgorithmName.MD5;
System\Security\Cryptography\HashAlgorithmName.cs (1)
146value = MD5;
System\Security\Cryptography\Helpers.cs (1)
381else if (hashAlgorithmName == HashAlgorithmName.MD5)
System\Security\Cryptography\MD5CryptoServiceProvider.cs (1)
18_incrementalHash = IncrementalHash.CreateHash(HashAlgorithmName.MD5);
System.Security.Cryptography.Pkcs (7)
Internal\Cryptography\PkcsHelpers.cs (2)
59return HashAlgorithmName.MD5; 90if (algName == HashAlgorithmName.MD5)
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
30hashAlgorithm = HashAlgorithmName.MD5;
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
96digestAlgorithmName = HashAlgorithmName.MD5; 100digestAlgorithmName = HashAlgorithmName.MD5;
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
22(HashAlgorithmName.MD5, 128, 512),
System\Security\Cryptography\Pkcs\CmsSignature.RSA.cs (1)
366Debug.Assert(hashAlgorithmName == HashAlgorithmName.MD5, $"Unsupported digest algorithm '{hashAlgorithmName.Name}'");