32 references to Create
EventSourceGenerator (1)
EventSourceGenerator.Parser.cs (1)
183using (SHA1 sha = SHA1.Create())
ILCompiler.ReadyToRun (4)
Compiler\CryptographicHashProvider.cs (4)
107return SHA1.Create(); 138return SHA1.Create(); 191using (var hashProvider = SHA1.Create()) 207using (var hashProvider = SHA1.Create())
Microsoft.Build.Tasks.Core (2)
ManifestUtil\mansign2.cs (1)
599using (SHA1 sha1 = SHA1.Create(
ManifestUtil\Util.cs (1)
233hashAlg = SHA1.Create(
Microsoft.CodeAnalysis (5)
CryptographicHashProvider.cs (4)
92return SHA1.Create(); 137return SHA1.Create(); 193using (var hashProvider = SHA1.Create()) 210using (var hashProvider = SHA1.Create())
Text\SourceHashAlgorithms.cs (1)
62SourceHashAlgorithm.Sha1 => SHA1.Create(),
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Compilers\Core\Portable\Text\SourceHashAlgorithms.cs (1)
62SourceHashAlgorithm.Sha1 => SHA1.Create(),
Microsoft.DotNet.Build.Tasks.Installers (2)
src\GenerateGuidFromName.cs (1)
24using (SHA1 hasher = SHA1.Create()) // lgtm [cs/weak-crypto] Algorithm is required by UUIDv5 spec
src\RpmBuilder.cs (1)
403using (SHA1 sha1 = SHA1.Create())
Microsoft.DotNet.StrongName (1)
Signing.cs (1)
362using (SHA1 sha1 = SHA1.Create())
Microsoft.TestPlatform.AdapterUtilities (1)
TestIdProvider.cs (1)
25_sha = SHA1.Create();
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
Utilities\EqtHash.cs (1)
31using HashAlgorithm provider = SHA1.Create();
Mono.Cecil (1)
Mono.Cecil\AssemblyNameReference.cs (1)
121 algorithm = SHA1.Create ();
PresentationBuildTasks (1)
MS\Internal\Tasks\TaskFileService.cs (1)
186hashAlgorithm = SHA1.Create();
sdk-tasks (1)
GenerateGuidFromName.cs (1)
18using (SHA1 hasher = SHA1.Create()) // CodeQL [SM02196] SHA1 is consistent with the UUID version 5 algorithm. This is used for a unique upgrade code but not for security
System.Configuration.ConfigurationManager (1)
src\runtime\src\libraries\Common\src\System\Security\IdentityHelper.cs (1)
68using (SHA1 sha1 = SHA1.Create())
System.IO.IsolatedStorage (1)
src\runtime\src\libraries\Common\src\System\Security\IdentityHelper.cs (1)
68using (SHA1 sha1 = SHA1.Create())
System.Security.Cryptography (1)
System\Security\Cryptography\CapiHelper.Windows.cs (1)
1108CapiHelper.CALG_SHA1 => SHA1.Create(),
System.Security.Cryptography.Xml (4)
System\Security\Cryptography\Xml\DSASignatureDescription.cs (1)
47return SHA1.Create();
System\Security\Cryptography\Xml\RSAPKCS1SHA1SignatureDescription.cs (1)
19return SHA1.Create();
System\Security\Cryptography\Xml\SymmetricKeyWrap.cs (2)
24using (var sha = SHA1.Create()) 103using (var sha = SHA1.Create())
System.ServiceModel.NetNamedPipe (1)
System\ServiceModel\Channels\PipeConnectionInitiator.cs (1)
398return SHA1.Create(); // CodeQL [SM02196] Here SHA1 is not used for cryptographic purposes, it's for compatibility.
System.ServiceModel.Primitives (3)
System\IdentityModel\CryptoHelper.cs (3)
199return SHA1.Create();// CodeQL [SM02196] Insecure cryptographic algorithm SHA1 is needed here as a requirement of SOAP protocols 226return SHA1.Create();// CodeQL [SM02196] Insecure cryptographic algorithm SHA1 is needed here as a requirement of SOAP protocols 343return SHA1.Create();// CodeQL [SM02196] Insecure cryptographic algorithm SHA1 is needed here as a requirement of SOAP protocols