HashAlgorithm.HashCore HashAlgorithm.HashCore HashAlgorithm.HashCore HashAlgorithm.HashCore Method

Definition

Overloads

HashCore(Byte[], Int32, Int32) HashCore(Byte[], Int32, Int32) HashCore(Byte[], Int32, Int32) HashCore(Byte[], Int32, Int32)

When overridden in a derived class, routes data written to the object into the hash algorithm for computing the hash.

HashCore(ReadOnlySpan<Byte>) HashCore(ReadOnlySpan<Byte>) HashCore(ReadOnlySpan<Byte>) HashCore(ReadOnlySpan<Byte>)

HashCore(Byte[], Int32, Int32) HashCore(Byte[], Int32, Int32) HashCore(Byte[], Int32, Int32) HashCore(Byte[], Int32, Int32)

When overridden in a derived class, routes data written to the object into the hash algorithm for computing the hash.

protected:
 abstract void HashCore(cli::array <System::Byte> ^ array, int ibStart, int cbSize);
protected abstract void HashCore (byte[] array, int ibStart, int cbSize);
abstract member HashCore : byte[] * int * int -> unit
Protected MustOverride Sub HashCore (array As Byte(), ibStart As Integer, cbSize As Integer)

Parameters

array
Byte[]

The input to compute the hash code for.

ibStart
Int32 Int32 Int32 Int32

The offset into the byte array from which to begin using data.

cbSize
Int32 Int32 Int32 Int32

The number of bytes in the byte array to use as data.

Remarks

This method is not called by application code.

This abstract method performs the hash computation. Every write to the cryptographic stream object passes the data through this method. For each block of data, this method updates the state of the hash object so a correct hash value is returned at the end of the data stream.

HashCore(ReadOnlySpan<Byte>) HashCore(ReadOnlySpan<Byte>) HashCore(ReadOnlySpan<Byte>) HashCore(ReadOnlySpan<Byte>)

protected:
 virtual void HashCore(ReadOnlySpan<System::Byte> source);
protected virtual void HashCore (ReadOnlySpan<byte> source);
abstract member HashCore : ReadOnlySpan<byte> -> unit
override this.HashCore : ReadOnlySpan<byte> -> unit
Protected Overridable Sub HashCore (source As ReadOnlySpan(Of Byte))

Parameters

source
ReadOnlySpan<Byte>

Applies to