次の方法で共有


HashAlgorithm.HashFinal メソッド

派生クラスでオーバーライドされると、暗号ストリーム オブジェクトによって最後のデータが処理された後に、ハッシュ計算を終了します。

Protected MustOverride Function HashFinal() As Byte()
[C#]
protected abstract byte[] HashFinal();
[C++]
protected: virtual unsigned char HashFinal()  __gc[] = 0;
[JScript]
protected abstract function HashFinal() : Byte[];

戻り値

計算済みハッシュ コード。

解説

このメソッドは、任意の部分的な計算を終了し、データ ストリームの正しいハッシュ値を返します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

HashAlgorithm クラス | HashAlgorithm メンバ | System.Security.Cryptography 名前空間 | 暗号サービス