25 references to MD5
Microsoft.CodeAnalysis.UnitTests (1)
Emit\EmitOptionsTests.cs (1)
141
pdbChecksumAlgorithm: 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)
417
using (var hmac = IncrementalHash.CreateHMAC(HashAlgorithmName.
MD5
, ntlm2hash))
443
using (var md5 = IncrementalHash.CreateHash(HashAlgorithmName.
MD5
))
554
using (var md5 = IncrementalHash.CreateHash(HashAlgorithmName.
MD5
))
679
using (var hmacMic = IncrementalHash.CreateHMAC(HashAlgorithmName.
MD5
, exportedSessionKey))
722
using (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)
151
case nameof(HashAlgorithmName.
MD5
): return EvpMd5();
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
30
hashAlgorithm = HashAlgorithmName.
MD5
;
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanDerivation.cs (1)
143
HashAlgorithmName.
MD5
,
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
96
digestAlgorithmName = HashAlgorithmName.
MD5
;
100
digestAlgorithmName = HashAlgorithmName.
MD5
;
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
22
(HashAlgorithmName.
MD5
, 128, 512),
System\Security\Cryptography\CapiHelper.Unix.cs (3)
47
MD5 => HashAlgorithmName.
MD5
,
61
Oids.Md5 => HashAlgorithmName.
MD5
,
78
return HashAlgorithmName.
MD5
;
System\Security\Cryptography\HashAlgorithmName.cs (1)
146
value =
MD5
;
System\Security\Cryptography\Helpers.cs (1)
381
else 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)
59
return HashAlgorithmName.
MD5
;
90
if (algName == HashAlgorithmName.
MD5
)
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
30
hashAlgorithm = HashAlgorithmName.
MD5
;
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
96
digestAlgorithmName = HashAlgorithmName.
MD5
;
100
digestAlgorithmName = 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)
366
Debug.Assert(hashAlgorithmName == HashAlgorithmName.
MD5
, $"Unsupported digest algorithm '{hashAlgorithmName.Name}'");