SHA1Managed.HashCore SHA1Managed.HashCore SHA1Managed.HashCore SHA1Managed.HashCore Method

定义

重载

HashCore(ReadOnlySpan<Byte>) HashCore(ReadOnlySpan<Byte>) HashCore(ReadOnlySpan<Byte>) HashCore(ReadOnlySpan<Byte>)
HashCore(Byte[], Int32, Int32) HashCore(Byte[], Int32, Int32) HashCore(Byte[], Int32, Int32) HashCore(Byte[], Int32, Int32)

将写入对象的数据路由到 SHA1Managed 哈希算法以计算哈希值。Routes data written to the object into the SHA1Managed hash algorithm for computing the hash.

HashCore(ReadOnlySpan<Byte>) HashCore(ReadOnlySpan<Byte>) HashCore(ReadOnlySpan<Byte>) HashCore(ReadOnlySpan<Byte>)

protected:
 override void HashCore(ReadOnlySpan<System::Byte> source);
protected override void HashCore (ReadOnlySpan<byte> source);
override this.HashCore : ReadOnlySpan<byte> -> unit
Protected Overrides Sub HashCore (source As ReadOnlySpan(Of Byte))

参数

source
ReadOnlySpan<Byte>

HashCore(Byte[], Int32, Int32) HashCore(Byte[], Int32, Int32) HashCore(Byte[], Int32, Int32) HashCore(Byte[], Int32, Int32)

将写入对象的数据路由到 SHA1Managed 哈希算法以计算哈希值。Routes data written to the object into the SHA1Managed hash algorithm for computing the hash.

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

参数

array
Byte[]

输入数据。The input data.

ibStart
Int32 Int32 Int32 Int32

字节数组中的偏移量,从该位置开始使用数据。The offset into the byte array from which to begin using data.

cbSize
Int32 Int32 Int32 Int32

数组中用作数据的字节数。The number of bytes in the array to use as data.

另请参阅

适用于