System.IO.Hashing Provides an implementation of the CRC-32 algorithm, as used in ITU-T V.42 and IEEE 802.3. Initializes a new instance of the class. Appends the contents of to the data already processed for the current hash computation. The data to process. Gets the current computed hash value without modifying accumulated state. The hash value for the data already provided. Computes the CRC-32 hash of the provided data. The data to hash. is . The CRC-32 hash of the provided data. Computes the CRC-32 hash of the provided data into the provided destination. The data to hash. The buffer that receives the computed hash value. The number of bytes written to . Computes the CRC-32 hash of the provided data. The data to hash. The CRC-32 hash of the provided data. Computes the CRC-32 hash of the provided data. The data to hash. The computed CRC-32 hash. Resets the hash computation to the initial state. Attempts to compute the CRC-32 hash of the provided data into the provided destination. The data to hash. The buffer that receives the computed hash value. When this method returns, contains the number of bytes written to . if is long enough to receive the computed hash value (4 bytes); otherwise, . Provides an implementation of the CRC-64 algorithm as described in ECMA-182, Annex B. Initializes a new instance of the class. Appends the contents of to the data already processed for the current hash computation. The data to process. Gets the current computed hash value without modifying accumulated state. The hash value for the data already provided. Computes the CRC-64 hash of the provided data. The data to hash. is . The CRC-64 hash of the provided data. Computes the CRC-64 hash of the provided data into the provided destination. The data to hash. The buffer that receives the computed hash value. The number of bytes written to . Computes the CRC-64 hash of the provided data. The data to hash. The CRC-64 hash of the provided data. Computes the CRC-64 hash of the provided data. The data to hash. The computed CRC-64 hash. Resets the hash computation to the initial state. Attempts to compute the CRC-64 hash of the provided data into the provided destination. The data to hash. The buffer that receives the computed hash value. When this method returns, contains the number of bytes written to . if is long enough to receive the computed hash value (8 bytes); otherwise, . Represents a non-cryptographic hash algorithm. Called from constructors in derived classes to initialize the class. The number of bytes produced from this hash algorithm. is less than 1. Appends the contents of to the data already processed for the current hash computation. The data to process. is . Appends the contents of to the data already processed for the current hash computation. The data to process. is . When overridden in a derived class, appends the contents of to the data already processed for the current hash computation. The data to process. Asychronously reads the contents of and appends them to the data already processed for the current hash computation. The data to process. The token to monitor for cancellation requests. The default value is . is . The cancellation token was canceled. This exception is stored into the returned task. A task that represents the asynchronous append operation. Gets the current computed hash value without modifying accumulated state. The hash value for the data already provided. Writes the computed hash value to without modifying accumulated state. The buffer that receives the computed hash value. is shorter than . The number of bytes written to , which is always . When overridden in a derived class, writes the computed hash value to without modifying accumulated state. The buffer that receives the computed hash value. Gets the current computed hash value and clears the accumulated state. The hash value for the data already provided. Writes the computed hash value to then clears the accumulated state. The buffer that receives the computed hash value. is shorter than . The number of bytes written to , which is always . Writes the computed hash value to then clears the accumulated state. The buffer that receives the computed hash value. This method is not supported and should not be called. Call or instead. In all cases. This method will always throw a . When overridden in a derived class, resets the hash computation to the initial state. Attempts to write the computed hash value to without modifying accumulated state. The buffer that receives the computed hash value. When this method returns, contains the number of bytes written to . if is long enough to receive the computed hash value; otherwise, . Attempts to write the computed hash value to . If successful, clears the accumulated state. The buffer that receives the computed hash value. When this method returns, contains the number of bytes written to . and clears the accumulated state if is long enough to receive the computed hash value; otherwise, . Gets the number of bytes produced from this hash algorithm. The number of bytes produced from this hash algorithm. Provides an implementation of the XXH128 hash algorithm for generating a 128-bit hash. Initializes a new instance of the class using the default seed value 0. Initializes a new instance of the class using the specified seed. The seed value for the hash computation. Appends the contents of to the data already processed for the current hash computation. The data to process. Gets the current computed hash value without modifying accumulated state. The hash value for the data already provided. Computes the XXH128 hash of the provided data using the provided seed. The data to hash. The seed value for this hash computation. is . The XXH128 128-bit hash code of the provided data. Computes the XXH128 hash of the provided data. The data to hash. is . The XXH128 128-bit hash code of the provided data. Computes the XXH128 hash of the provided data using the optionally provided . The data to hash. The seed value for this hash computation. The default is zero. The XXH128 128-bit hash code of the provided data. Computes the XXH128 hash of the provided data into the provided using the optionally provided . The data to hash. The buffer that receives the computed 128-bit hash code. The seed value for this hash computation. The default is zero. is shorter than the number of bytes produced from this hash algorithm (16 bytes). The number of bytes written to . Computes the XXH128 hash of the provided data. The data to hash. The seed value for this hash computation. The default is zero. The computed XXH128 hash. Resets the hash computation to the initial state. Attempts to compute the XXH128 hash of the provided data into the provided using the optionally provided . The data to hash. The buffer that receives the computed 128-bit hash code. When this method returns, contains the number of bytes written to . The seed value for this hash computation. The default is zero. if is long enough to receive the computed hash value (16 bytes); otherwise, . Provides an implementation of the XXH3 hash algorithm for generating a 64-bit hash. Initializes a new instance of the class using the default seed value 0. Initializes a new instance of the class using the specified seed. The seed value for the hash computation. Appends the contents of to the data already processed for the current hash computation. The data to process. Gets the current computed hash value without modifying accumulated state. The hash value for the data already provided. Computes the XXH3 hash of the provided data using the provided seed. The data to hash. The seed value for this hash computation. is . The XXH3 64-bit hash code of the provided data. Computes the XXH3 hash of the provided data. The data to hash. is . The XXH3 64-bit hash code of the provided data. Computes the XXH3 hash of the provided data using the optionally provided . The data to hash. The seed value for this hash computation. The default is zero. The XXH3 64-bit hash code of the provided data. Computes the XXH3 hash of the provided data into the provided using the optionally provided . The data to hash. The buffer that receives the computed 64-bit hash code. The seed value for this hash computation. The default is zero. is shorter than the number of bytes produced from this hash algorithm (8 bytes). The number of bytes written to . Computes the XXH3 hash of the provided data. The data to hash. The seed value for this hash computation. The computed XXH3 hash. Resets the hash computation to the initial state. Attempts to compute the XXH3 hash of the provided data into the provided using the optionally provided . The data to hash. The buffer that receives the computed 64-bit hash code. When this method returns, contains the number of bytes written to . The seed value for this hash computation. The default is zero. if is long enough to receive the computed hash value (8 bytes); otherwise, . Provides an implementation of the XxHash32 algorithm. Initializes a new instance of the class. Initializes a new instance of the class with a specified seed. The hash seed value for computations from this instance. Appends the contents of to the data already processed for the current hash computation. The data to process. Gets the current computed hash value without modifying accumulated state. The hash value for the data already provided. Computes the XxHash32 hash of the provided data using the provided seed. The data to hash. The seed value for this hash computation. is . The XxHash32 hash of the provided data. Computes the XxHash32 hash of the provided data. The data to hash. is . The XxHash32 hash of the provided data. Computes the XxHash32 hash of the provided data. The data to hash. The seed value for this hash computation. The default is zero. The XxHash32 hash of the provided data. Computes the XxHash32 hash of the provided data into the provided destination. The data to hash. The buffer that receives the computed hash value. The seed value for this hash computation. The default is zero. The number of bytes written to . Computes the XxHash32 hash of the provided data. The data to hash. The seed value for this hash computation. The default is zero. The computed XxHash32 hash. Resets the hash computation to the initial state. Attempts to compute the XxHash32 hash of the provided data into the provided destination. The data to hash. The buffer that receives the computed hash value. When this method returns, contains the number of bytes written to . The seed value for this hash computation. The default is zero. if is long enough to receive the computed hash value (4 bytes); otherwise, . Provides an implementation of the XxHash64 algorithm. Initializes a new instance of the class. Initializes a new instance of the class with a specified seed. The hash seed value for computations from this instance. Appends the contents of to the data already processed for the current hash computation. The data to process. Gets the current computed hash value without modifying accumulated state. The hash value for the data already provided. Computes the XxHash64 hash of the provided data using the provided seed. The data to hash. The seed value for this hash computation. is . The XxHash64 hash of the provided data. Computes the XxHash64 hash of the provided data. The data to hash. is . The XxHash64 hash of the provided data. Computes the XxHash64 hash of the provided data. The data to hash. The seed value for this hash computation. The default is zero. The XxHash64 hash of the provided data. Computes the XxHash64 hash of the provided data into the provided destination. The data to hash. The buffer that receives the computed hash value. The seed value for this hash computation. The default is zero. The number of bytes written to . Computes the XxHash64 hash of the provided data. The data to hash. The seed value for this hash computation. The computed XxHash64 hash. Resets the hash computation to the initial state. Attempts to compute the XxHash64 hash of the provided data into the provided destination. The data to hash. The buffer that receives the computed hash value. When this method returns, contains the number of bytes written to . The seed value for this hash computation. The default is zero. if is long enough to receive the computed hash value (8 bytes); otherwise, .