Dela via


HashAlgorithmProvider.HashLength Property

Definition

Gets the length, in bytes, of the hash.

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

Property Value

UInt32

unsigned int

uint32_t

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.

Applies to