MACTripleDES.HashFinal 方法

定义

在所有数据写入对象后返回计算所得的消息验证代码 (MAC)。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()

返回

Byte[]

计算所得的 MAC。The computed MAC.

注解

只有在写入所有数据后才能读取此值,并且以后不能再写入数据。You can read this value only after all data is written, and you cannot write more data afterward. MACTripleDES为每个单独的数据段创建新的实例,以计算该数据的 MAC。Create a new instance of MACTripleDES for each separate segment of data to compute the MAC for that data.

适用于