MACTripleDES.HashFinal Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

protected override byte[] HashFinal()

Return Value

Type: System.Byte[]

The computed MAC.

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.

.NET Framework
Available since 1.1
Return to top