Bewerken

Share via


SHA1Managed.HashFinal Method

Definition

Returns the computed SHA1 hash value after all data has been written to the object.

protected:
 override cli::array <System::Byte> ^ HashFinal();
protected override sealed byte[] HashFinal ();
protected override byte[] HashFinal ();
override this.HashFinal : unit -> byte[]
Protected Overrides NotOverridable Function HashFinal () As Byte()
Protected Overrides Function HashFinal () As Byte()

Returns

Byte[]

The computed hash code.

Remarks

Due to collision problems with SHA1, Microsoft recommends a security model based on SHA256 or better.

Applies to

See also