ITransferHasher Interface

This interface must be implemented by hash algorithms. The interface provides s default implementation for Clone, which just invokes Clone.

Definition

Namespace: Quine.FileTransfer
Assembly: Quine.FileTransfer (in Quine.FileTransfer.dll) Version: 1.0.0+6efd94d5454131cfac18f827c2a4172cb83f1e24
C#
public interface ITransferHasher : ICloneable
Implements
ICloneable

Remarks

The library creates new hasher instances when necessary (see HasherFactory). If the instance implements IDisposable, the library will dispose of it when the instance is no longer needed.

Methods

Append Appends a chunk of data to the hasher's state.
Clone Clones this.
GetHashAndReset Finalizes hash computation and prepares the instance for the next data stream.

See Also