Show / Hide Table of Contents

MacLength Method

MacLength(CmacBlockCipherAlgorithm)

Returns the size, in bytes, of the resulting CMAC given the specified underlying block cipher algorithm.

C#
public static int MacLength(this CmacBlockCipherAlgorithm algorithm)

Parameters

Type Name Description
CmacBlockCipherAlgorithm algorithm

The algorithm name to check.

Returns

int

An int, the size, in bytes, of the CMAC result for the specified block cipher algorithm.

In this article
Back to top Generated by DocFX