4 instantiations of IncrementalHash
System.Security.Cryptography (4)
129 references to IncrementalHash
Microsoft.AspNetCore.Components.Endpoints (3)
Microsoft.CodeAnalysis (14)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.DotNet.StrongName (2)
Microsoft.Extensions.AI.Abstractions (4)
Microsoft.Extensions.FileProviders.Physical (3)
netstandard (1)
System.Core (1)
System.Net.Security (10)
System.Security.Cryptography (67)
System\Security\Cryptography\IncrementalHash.cs (16)
274/// Creates a new instance of <see cref="IncrementalHash" /> with the existing appended data preserved.
279public IncrementalHash Clone()
308VerifyCore(hash, this, static (IncrementalHash ih, Span<byte> buffer) => ih.GetCurrentHashCore(buffer));
339VerifyCore(hash, this, static (IncrementalHash ih, Span<byte> buffer) => ih.GetHashAndResetCore(buffer));
353/// <see cref="IncrementalHash"/> class.
373/// Creates an <see cref="IncrementalHash"/> for the algorithm specified by <paramref name="hashAlgorithm"/>.
377/// An <see cref="IncrementalHash"/> instance ready to compute the hash algorithm specified
385public static IncrementalHash CreateHash(HashAlgorithmName hashAlgorithm)
394/// Creates an <see cref="IncrementalHash"/> for the Hash-based Message Authentication Code (HMAC)
407/// An <see cref="IncrementalHash"/> instance ready to compute the hash algorithm specified
415public static IncrementalHash CreateHMAC(HashAlgorithmName hashAlgorithm, byte[] key)
423/// Creates an <see cref="IncrementalHash"/> for the Hash-based Message Authentication Code (HMAC)
436/// An <see cref="IncrementalHash"/> instance ready to compute the hash algorithm specified
444public static IncrementalHash CreateHMAC(HashAlgorithmName hashAlgorithm, ReadOnlySpan<byte> key)
473IncrementalHash ih,
474Func<IncrementalHash, Span<byte>, int> getHashCallback)
System.Security.Cryptography.Algorithms (1)
System.Security.Cryptography.Cose (2)
System.Security.Cryptography.Pkcs (19)