System.IO.Hashing.Crc64
Provides an implementation of the CRC-64 algorithm as described in ECMA-182, Annex B.
public Crc64()
Initializes a new instance of the Crc64 class.
Computes the CRC-64 hash of the provided data.
Computes the CRC-64 hash of the provided data.
Computes the CRC-64 hash of the provided data into the provided destination.
public static int Hash(Crc64ParameterSet parameterSet, ReadOnlySpan<byte> source, Span<byte> destination)
Computes the CRC-64 hash of the provided data.
Attempts to compute the CRC-64 hash of the provided data into the provided destination.
public static bool TryHash(Crc64ParameterSet parameterSet, ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten)
Creates a clone of the current instance with a copy of the current instance's internal state.
Gets the current computed hash value without modifying accumulated state.