HashAlgorithm.HashFinal 方法

定义

在派生类中重写时,在加密哈希算法处理最后一个数据后结束哈希计算。When overridden in a derived class, finalizes the hash computation after the last data is processed by the cryptographic hash algorithm.

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.

适用于