HashAlgorithmProvider.HashLength 屬性

定義

取得雜湊的長度,以位元組為單位。

public:
 property unsigned int HashLength { unsigned int get(); };
uint32_t HashLength();
public uint HashLength { get; }
var uInt32 = hashAlgorithmProvider.hashLength;
Public ReadOnly Property HashLength As UInteger

屬性值

UInt32

unsigned int

uint32_t

雜湊中的位元組數目。

備註

您應該確認雜湊資料的長度等於指定演算法所支援的雜湊長度。 如需詳細資訊,請參閱下列程式碼範例。

適用於