HashAlgorithmProvider.HashLength HashAlgorithmProvider.HashLength HashAlgorithmProvider.HashLength HashAlgorithmProvider.HashLength HashAlgorithmProvider.HashLength Property

Definition

Gets the length, in bytes, of the hash.

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

Property Value

uint uint uint

Number of bytes in the hash.

Remarks

You should verify that the length of the hashed data equals the hash length supported by the specified algorithm. For more information, see the following code example.