SHA1Managed.HashFinal SHA1Managed.HashFinal SHA1Managed.HashFinal SHA1Managed.HashFinal Method

定义

将所有数据都写入对象后,返回计算所得的 SHA1 哈希值。Returns the computed SHA1 hash value after all data has been 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[]

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

注解

由于 SHA1 出现冲突问题,Microsoft 建议使用基于 SHA256 或更好的安全模型。Due to collision problems with SHA1, Microsoft recommends a security model based on SHA256 or better.

适用于

另请参阅