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