SHA256Managed.HashCore(Byte[], Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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> ^ array, int ibStart, int cbSize);
protected:
override void HashCore(cli::array <System::Byte> ^ rgb, int ibStart, int cbSize);
protected override sealed void HashCore (byte[] array, int ibStart, int cbSize);
protected override void HashCore (byte[] rgb, int ibStart, int cbSize);
override this.HashCore : byte[] * int * int -> unit
override this.HashCore : byte[] * int * int -> unit
Protected Overrides NotOverridable Sub HashCore (array As Byte(), ibStart As Integer, cbSize As Integer)
Protected Overrides Sub HashCore (rgb As Byte(), ibStart As Integer, cbSize As Integer)
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
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈