KeyLength Method
KeyLength(CmacBlockCipherAlgorithm)
Returns the length, in bytes, of the key to be used in the operations given the specified underlying block cipher algorithm.
C#
public static int KeyLength(this CmacBlockCipherAlgorithm algorithm)
Parameters
Type | Name | Description |
---|---|---|
CmacBlockCipherAlgorithm | algorithm | The algorithm name to check. |
Returns
System.Int32
An int, the length, in bytes, of the key for the specified block cipher algorithm.