21 references to Create
Microsoft.Build.Tasks.Core (3)
ManifestUtil\mansign2.cs (2)
590using (SHA1 sha1 = SHA1.Create( 653using (SHA1 sha1 = SHA1.Create(
ManifestUtil\Util.cs (1)
250hashAlg = SHA1.Create(
Microsoft.CodeAnalysis (5)
CryptographicHashProvider.cs (4)
86return SHA1.Create(); 119return SHA1.Create(); 175using (var hashProvider = SHA1.Create()) 192using (var hashProvider = SHA1.Create())
Text\SourceHashAlgorithms.cs (1)
54SourceHashAlgorithm.Sha1 => SHA1.Create(),
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\Text\SourceHashAlgorithms.cs (1)
54SourceHashAlgorithm.Sha1 => SHA1.Create(),
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionTests.cs (1)
1610var 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)
390using (SHA1 sha1 = SHA1.Create())
PresentationBuildTasks (1)
MS\Internal\Tasks\TaskFileService.cs (1)
188hashAlgorithm = SHA1.Create();
System.Configuration.ConfigurationManager (1)
src\libraries\Common\src\System\Security\IdentityHelper.cs (1)
68using (SHA1 sha1 = SHA1.Create())
System.IO.IsolatedStorage (1)
src\libraries\Common\src\System\Security\IdentityHelper.cs (1)
68using (SHA1 sha1 = SHA1.Create())
System.Private.CoreLib.Generators (1)
EventSourceGenerator.Parser.cs (1)
115using (SHA1 sha = 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.