Lesa á ensku Breyta

Deila með


SHA256Managed.HashCore(Byte[], Int32, Int32) Method

Definition

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

protected override sealed void HashCore (byte[] array, int ibStart, int cbSize);
protected override void HashCore (byte[] rgb, int ibStart, int cbSize);

Parameters

arrayrgb
Byte[]

The input data.

ibStart
Int32

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

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

Applies to

Vara Útgáfur
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also