HMACSHA384.HashCore 方法

定义

重载

HashCore(ReadOnlySpan<Byte>)

将写入对象的数据路由到 HMAC 算法以计算 HMAC 。

HashCore(Byte[], Int32, Int32)

将写入对象的数据路由到 HMAC 算法以计算 HMAC 。

HashCore(ReadOnlySpan<Byte>)

Source:
HMACSHA384.cs
Source:
HMACSHA384.cs
Source:
HMACSHA384.cs

将写入对象的数据路由到 HMAC 算法以计算 HMAC 。

C#
protected override void HashCore(ReadOnlySpan<byte> source);

参数

source
ReadOnlySpan<Byte>

要计算其 HMAC 的输入。

适用于

.NET 10 和其他版本
产品 版本
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.1

HashCore(Byte[], Int32, Int32)

Source:
HMACSHA384.cs
Source:
HMACSHA384.cs
Source:
HMACSHA384.cs

将写入对象的数据路由到 HMAC 算法以计算 HMAC 。

C#
protected override void HashCore(byte[] rgb, int ib, int cb);

参数

rgb
Byte[]

要计算其 HMAC 的输入。

ib
Int32

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

cb
Int32

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

适用于

.NET 10 和其他版本
产品 版本
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 1.3, 1.4, 1.6, 2.1