SHA512Managed.HashCore(Byte[], Int32, Int32) 方法

定义

在派生类中重写时,将写入对象的数据路由到 SHA512Managed 用于计算哈希的哈希算法中。

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)

参数

arrayrgb
Byte[]

输入数据。

ibStart
Int32

从中开始使用数据的字节数组的偏移量。

cbSize
Int32

要用作数据的数组中的字节数。

注解

应用程序代码不调用此方法。

此抽象方法执行哈希计算。 每次写入加密流对象都会通过此方法传递数据。 对于每个数据块,此方法更新哈希对象的状态,以便在数据流末尾返回正确的哈希值。

适用于

另请参阅