39 references to CreateHash
Microsoft.AspNetCore.Components.Endpoints (1)
Builder\ResourceCollectionUrlEndpoint.cs (1)
113var incrementalHash = IncrementalHash.CreateHash(HashAlgorithmName.SHA256);
Microsoft.CodeAnalysis (6)
CryptographicHashProvider.cs (4)
200using (var incrementalHash = IncrementalHash.CreateHash(algorithmName)) 209using (var incrementalHash = IncrementalHash.CreateHash(algorithmName)) 219using (var incrementalHash = IncrementalHash.CreateHash(algorithmName)) 231using var incrementalHash = IncrementalHash.CreateHash(algorithmName);
Emit\EmitOptions.cs (1)
371IncrementalHash.CreateHash(PdbChecksumAlgorithm).Dispose();
PEWriter\SigningUtilities.cs (1)
36using (var hash = IncrementalHash.CreateHash(HashAlgorithmName.SHA1))
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\ILValidation.cs (1)
150using (var hash = IncrementalHash.CreateHash(HashAlgorithmName.SHA1))
Microsoft.Extensions.FileProviders.Physical (1)
PollingWildCardChangeToken.cs (1)
118using (var sha256 = IncrementalHash.CreateHash(HashAlgorithmName.SHA256))
System.Net.Security (2)
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (2)
443using (var md5 = IncrementalHash.CreateHash(HashAlgorithmName.MD5)) 554using (var md5 = IncrementalHash.CreateHash(HashAlgorithmName.MD5))
System.Security.Cryptography (11)
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanDerivation.cs (1)
26using (IncrementalHash hash = IncrementalHash.CreateHash(hashAlgorithm))
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (1)
169using (IncrementalHash hasher = IncrementalHash.CreateHash(digestAlgorithmName))
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
158IncrementalHash hash = IncrementalHash.CreateHash(hashAlgorithm);
src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (3)
319using (IncrementalHash hasher = IncrementalHash.CreateHash(hashAlgorithmName)) 423using (IncrementalHash hasher = IncrementalHash.CreateHash(hashAlgorithmName)) 522using (IncrementalHash hasher = IncrementalHash.CreateHash(hashAlgorithmName))
System\Security\Cryptography\MD5CryptoServiceProvider.cs (1)
18_incrementalHash = IncrementalHash.CreateHash(HashAlgorithmName.MD5);
System\Security\Cryptography\SHA1CryptoServiceProvider.cs (1)
21_incrementalHash = IncrementalHash.CreateHash(HashAlgorithmName.SHA1);
System\Security\Cryptography\SHA256CryptoServiceProvider.cs (1)
21_incrementalHash = IncrementalHash.CreateHash(HashAlgorithmName.SHA256);
System\Security\Cryptography\SHA384CryptoServiceProvider.cs (1)
21_incrementalHash = IncrementalHash.CreateHash(HashAlgorithmName.SHA384);
System\Security\Cryptography\SHA512CryptoServiceProvider.cs (1)
21_incrementalHash = IncrementalHash.CreateHash(HashAlgorithmName.SHA512);
System.Security.Cryptography.Cose (10)
System\Security\Cryptography\Cose\CoseMultiSignMessage.cs (4)
461using (IncrementalHash hasher = IncrementalHash.CreateHash(signer.HashAlgorithm)) 490using (IncrementalHash hasher = IncrementalHash.CreateHash(hashAlgorithm)) 801using (IncrementalHash hasher = IncrementalHash.CreateHash(signer.HashAlgorithm)) 874using (IncrementalHash hasher = IncrementalHash.CreateHash(signer.HashAlgorithm))
System\Security\Cryptography\Cose\CoseSign1Message.cs (4)
334using (IncrementalHash hasher = IncrementalHash.CreateHash(signer.HashAlgorithm)) 356using (IncrementalHash hasher = IncrementalHash.CreateHash(signer.HashAlgorithm)) 621using (IncrementalHash hasher = IncrementalHash.CreateHash(hashAlgorithm)) 722using (IncrementalHash hasher = IncrementalHash.CreateHash(hashAlgorithm))
System\Security\Cryptography\Cose\CoseSignature.cs (2)
397using (IncrementalHash hasher = IncrementalHash.CreateHash(hashAlgorithm)) 429using (IncrementalHash hasher = IncrementalHash.CreateHash(hashAlgorithm))
System.Security.Cryptography.Pkcs (7)
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (1)
169using (IncrementalHash hasher = IncrementalHash.CreateHash(digestAlgorithmName))
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
158IncrementalHash hash = IncrementalHash.CreateHash(hashAlgorithm);
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
192hasher = IncrementalHash.CreateHash(hashAlgorithmName);
System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (1)
177using (IncrementalHash hasher = IncrementalHash.CreateHash(hashAlgorithm))
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (1)
199using (IncrementalHash hasher = IncrementalHash.CreateHash(hashAlgorithm))
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
182using (IncrementalHash hasher = IncrementalHash.CreateHash(hashAlgorithmName))
System\Security\Cryptography\Pkcs\SignerInfo.cs (1)
558hasher = IncrementalHash.CreateHash(hashAlgorithmName);