MacAlgorithmProvider.MacLength MacAlgorithmProvider.MacLength MacAlgorithmProvider.MacLength MacAlgorithmProvider.MacLength MacAlgorithmProvider.MacLength Property

Definition

Gets the length, in bytes, of the message authentication code.

public : unsigned int MacLength { get; }
uint32_t MacLength();
public uint MacLength { get; }
Public ReadOnly Property MacLength As uint
var uint = macAlgorithmProvider.macLength;

Property Value

uint uint uint

Number of bytes in the MAC.

Remarks

You should verify that the length of the computed HMAC equals the length supported by the specified algorithm. For more information, see the following example.