次の方法で共有


MACTripleDES.HashFinal メソッド

すべてのデータがオブジェクトに書き込まれた後に、計算された MAC (Message Authentication Code) を返します。

Overrides Protected Function HashFinal() As Byte()
[C#]
protected override byte[] HashFinal();
[C++]
protected: unsigned char HashFinal()  __gc[];
[JScript]
protected override function HashFinal() : Byte[];

戻り値

計算された MAC。

解説

この値を読み込むことができるのは、すべてのデータの書き込みが終わった後だけです。その後、さらにデータを書き込むことはできません。データの各セグメントに対して MACTripleDES の新しいインスタンスを作成し、そのデータの MAC を計算します。

必要条件

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

参照

MACTripleDES クラス | MACTripleDES メンバ | System.Security.Cryptography 名前空間