142 references to SHA256
Aspire.Dashboard (1)
Aspire.Dashboard.Components.Tests (1)
Aspire.Dashboard.Tests (1)
dotnet-dev-certs (3)
HttpStress (1)
IIS.FunctionalTests (1)
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.NewShim.FunctionalTests (1)
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (1)
InMemory.FunctionalTests (6)
Microsoft.AspNetCore.Authentication.Certificate (1)
Microsoft.AspNetCore.Authentication.Test (1)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Cryptography.KeyDerivation (1)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (3)
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (1)
Microsoft.AspNetCore.HttpOverrides.Tests (1)
Microsoft.AspNetCore.Identity (5)
Microsoft.AspNetCore.Identity.Test (4)
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
Microsoft.AspNetCore.Server.Kestrel.Tests (6)
KestrelConfigurationLoaderTests.cs (6)
867var request = new CertificateRequest(distinguishedName, rsa, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1);
876var request = new CertificateRequest(distinguishedName, ecdsa, HashAlgorithmName.SHA256);
947: key.ExportEncryptedPkcs8PrivateKeyPem(password.AsSpan(), new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100_000));
955: mlDsa.ExportEncryptedPkcs8PrivateKeyPem(password.AsSpan(), new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100_000));
962: slhDsa.ExportEncryptedPkcs8PrivateKeyPem(password.AsSpan(), new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100_000));
969: compositeMLDsa.ExportEncryptedPkcs8PrivateKeyPem(password.AsSpan(), new PbeParameters(PbeEncryptionAlgorithm.Aes256Cbc, HashAlgorithmName.SHA256, 100_000));
Microsoft.AspNetCore.Testing (1)
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.DotNet.Build.Tasks.Workloads (2)
Microsoft.DotNet.SignCheckLibrary (3)
Microsoft.Extensions.FileProviders.Physical (1)
System.Security.Cryptography (40)
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.cs (11)
569new RsaAlgorithm(2048, HashAlgorithmName.SHA256, RSASignaturePadding.Pss),
571HashAlgorithmName.SHA256)
577new RsaAlgorithm(2048, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1),
579HashAlgorithmName.SHA256)
593ECDsaAlgorithm.CreateP256(HashAlgorithmName.SHA256),
595HashAlgorithmName.SHA256)
601new RsaAlgorithm(3072, HashAlgorithmName.SHA256, RSASignaturePadding.Pss),
609new RsaAlgorithm(3072, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1),
633ECDsaAlgorithm.CreateP256(HashAlgorithmName.SHA256),
649ECDsaAlgorithm.CreateBrainpoolP256r1(HashAlgorithmName.SHA256),
689new RsaAlgorithm(3072, HashAlgorithmName.SHA256, RSASignaturePadding.Pss),
System\Security\Cryptography\Rfc2898DeriveBytes.OneShot.cs (7)
37/// are <see cref="HashAlgorithmName.SHA1" />, <see cref="HashAlgorithmName.SHA256" />,
72/// are <see cref="HashAlgorithmName.SHA1" />, <see cref="HashAlgorithmName.SHA256" />,
109/// are <see cref="HashAlgorithmName.SHA1" />, <see cref="HashAlgorithmName.SHA256" />,
148/// are <see cref="HashAlgorithmName.SHA1" />, <see cref="HashAlgorithmName.SHA256" />,
191/// are <see cref="HashAlgorithmName.SHA1" />, <see cref="HashAlgorithmName.SHA256" />,
236/// are <see cref="HashAlgorithmName.SHA1" />, <see cref="HashAlgorithmName.SHA256" />,
327hashAlgorithmName == HashAlgorithmName.SHA256.Name ||
System.Security.Cryptography.Cose (6)
System\Security\Cryptography\Cose\CoseKey.cs (6)
75CoseAlgorithm.ES256 => new CoseKey(ecdsaKey, HashAlgorithmName.SHA256),
85CoseAlgorithm.RS256 => new CoseKey(rsaKey, RSASignaturePadding.Pkcs1, HashAlgorithmName.SHA256),
88CoseAlgorithm.PS256 => new CoseKey(rsaKey, RSASignaturePadding.Pss, HashAlgorithmName.SHA256),
276nameof(HashAlgorithmName.SHA256) => CoseAlgorithm.PS256,
287nameof(HashAlgorithmName.SHA256) => CoseAlgorithm.RS256,
298nameof(HashAlgorithmName.SHA256) => CoseAlgorithm.ES256,
System.Security.Cryptography.Pkcs (10)
Templates.Blazor.Tests (3)
Templates.Blazor.WebAssembly.Auth.Tests (3)
Templates.Blazor.WebAssembly.Tests (3)
Templates.Mvc.Tests (3)
Templates.Tests (3)
WebTransportInteractiveSampleApp (1)
WebTransportSampleApp (1)