<PackageReference Include="Azure.Storage.Files.DataLake" Version="12.23.0" />

Azure.Storage.IHasher

interface IHasher : IDisposable
Interface to wrap either a HashAlgorithm or a NonCryptographicHashAlgorithm to provide a common interface for hashing a stream.
namespace Azure.Storage { internal interface IHasher : IDisposable { int HashSizeInBytes { get; } Task<byte[]> ComputeHashInternal(Stream stream, bool async, CancellationToken cancellationToken); void AppendHash(ReadOnlySpan<byte> content); int GetFinalHash(Span<byte> hashDestination); } }