HashAlgorithm.HashFinal 方法

定义

当在派生类中重写时,在加密流对象处理完最后的数据后完成哈希计算。When overridden in a derived class, finalizes the hash computation after the last data is processed by the cryptographic stream object.

protected:
 abstract cli::array <System::Byte> ^ HashFinal();
protected abstract byte[] HashFinal ();
abstract member HashFinal : unit -> byte[]
Protected MustOverride Function HashFinal () As Byte()

返回

Byte[]

计算所得的哈希代码。The computed hash code.

注解

此方法完成所有部分计算,并返回数据流的正确哈希值。This method finalizes any partial computation and returns the correct hash value for the data stream.

适用于