SHA256Managed.HashCore SHA256Managed.HashCore SHA256Managed.HashCore SHA256Managed.HashCore Method

Definition

Overloads

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 SHA256 hash algorithm for computing the hash.

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

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

Parameters

source
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 SHA256 hash algorithm for computing the hash.

protected:
 override void HashCore(cli::array <System::Byte> ^ data, int start, int length);
protected override void HashCore (byte[] data, int start, int length);
override this.HashCore : byte[] * int * int -> unit
Protected Overrides Sub HashCore (data As Byte(), start As Integer, length As Integer)

Parameters

array
Byte[]

The input data.

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 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.

See also

Applies to