Hashsum by Tyrrrz

<PackageReference Include="Hashsum" Version="1.1.3" />

 ChecksumBuilder

public class ChecksumBuilder : IDisposable
Fluent interface for mutating and calculating checksums.
public ChecksumBuilder(HashAlgorithm algorithm, bool disposeAlgorithm = false)

Initializes ChecksumBuilder with given hashing algorithm.

public ChecksumBuilder()

Initializes ChecksumBuilder with SHA256 hashing algorithm.

Calculates the checksum and clears buffer.

protected virtual void Dispose(bool disposing)

Disposes resources.

public void Dispose()

public ChecksumBuilder Mutate(string value)

Mutates checksum by given value.

public ChecksumBuilder Mutate(char value)

Mutates checksum by given value.

Mutates checksum by given value.

public ChecksumBuilder Mutate(bool value)

Mutates checksum by given value.

Mutates checksum by given value.

Mutates checksum by given value.

Mutates checksum by given value.

public ChecksumBuilder Mutate(byte[] data)

Mutates checksum by given data.

public ChecksumBuilder Mutate(Stream stream)

Mutates checksum by given stream.