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)