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

定义

当在派生类中重写时,将写入对象的数据路由到 RIPEMD160 哈希算法以计算哈希值。When overridden in a derived class, routes data written to the object into the RIPEMD160 hash algorithm for computing the hash.

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

参数

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

注解

应用程序代码不会调用此方法。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.

适用于

另请参阅