Mentalis.org Security Library documentation

HMAC.HashCore Method 

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

[Visual Basic]
Overrides Protected Sub HashCore( _
   ByVal rgb As Byte(), _
   ByVal ib As Integer, _
   ByVal cb As Integer _
)
[C#]
protected override void HashCore(
   byte[] rgb,
   int ib,
   int cb
);

Parameters

rgb
The input for which to compute the hash code.
ib
The offset into the byte array from which to begin using data.
cb
The number of bytes in the byte array to use as data.

Exceptions

Exception TypeCondition
ObjectDisposedExceptionThe HMAC instance has been disposed.

See Also

HMAC Class | HMAC Members | Org.Mentalis.Security.Cryptography Namespace