HMAC.HashCore Method

Definition

Overloads

HashCore(ReadOnlySpan<Byte>)

Routes data written to the object into the HMAC algorithm for computing the HMAC.

HashCore(Byte[], Int32, Int32)

When overridden in a derived class, routes data written to the object into the HMAC algorithm for computing the HMAC value.

HashCore(ReadOnlySpan<Byte>)

Source:
HMAC.cs
Source:
HMAC.cs
Source:
HMAC.cs

Routes data written to the object into the HMAC algorithm for computing the HMAC.

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))

Parameters

source
ReadOnlySpan<Byte>

The input to compute the HMAC code for.

Exceptions

Remarks

The default implementation of this method throws a PlatformNotSupportedException because there is no managed implementation of HMAC.

Derived types must override this method.

Applies to

HashCore(Byte[], Int32, Int32)

Source:
HMAC.cs
Source:
HMAC.cs
Source:
HMAC.cs

When overridden in a derived class, routes data written to the object into the HMAC algorithm for computing the HMAC value.

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

Parameters

rgb
Byte[]

The input data.

ib
Int32

The offset into the byte array from which to begin using data.

cb
Int32

The number of bytes in the array to use as data.

Remarks

This method is not called by application code.

See also

Applies to