MACTripleDES.HashFinal Method

Definition

Returns the computed Message Authentication Code (MAC) after all data is written to the object.

protected:
 override cli::array <System::Byte> ^ HashFinal();
protected override byte[] HashFinal ();
override this.HashFinal : unit -> byte[]
Protected Overrides Function HashFinal () As Byte()

Returns

Byte[]

The computed MAC.

Remarks

You can read this value only after all data is written, and you cannot write more data afterward. Create a new instance of MACTripleDES for each separate segment of data to compute the MAC for that data.

Applies to