5 references to HashData
Infrastructure.Tests (1)
WorkflowScripts\AutoSecWorkflowTests.cs (1)
4664
return Convert.ToHexStringLower(System.Security.Cryptography.SHA1.
HashData
([.. Encoding.ASCII.GetBytes($"blob {body.Length}\0"), .. body]));
Microsoft.DotNet.Build.Tasks.FileCatalog (1)
CatalogEntry.cs (1)
63
: this(name, SHA1.
HashData
(content.Span), SHA256.HashData(content.Span))
System.Security.Cryptography (3)
System\Security\Cryptography\DSACryptoServiceProvider.Windows.cs (2)
413
byte[] hashVal = SHA1.
HashData
(new ReadOnlySpan<byte>(buffer, offset, count));
457
return SHA1.
HashData
(new ReadOnlySpan<byte>(data, offset, count));
System\Security\Cryptography\HMACCommon.cs (1)
95
modifiedKey = SHA1.
HashData
(key);