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 void HashCore(cli::array <System::Byte> ^ data, int start, int length);
protected override sealed void HashCore (byte[] array, int ibStart, int cbSize);
protected override void HashCore (byte[] rgb, int ibStart, int cbSize);
protected override void HashCore (byte[] data, int start, int length);
override this.HashCore : byte[] * int * int -> unit
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)
Protected Overrides Sub HashCore (data As Byte(), start As Integer, length As Integer)

参数

arrayrgbdata
Byte[]

输入数据。

ibStartstart
Int32

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

cbSizelength
Int32

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

注解

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

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

适用于

另请参阅