๐Ÿ“š CBC-MAC Learning Examples

Choose from carefully crafted examples to understand CBC-MAC step by step:

Or use random values:

Part 1: Basic CBC-MAC

Plaintext:
Key (k):
IV Length (l): (where l < plaintext length/2)
IV:

๐Ÿงช Test Function Fk(text):

This section allows you to test how the cryptographic function Fk transforms binary input. Enter binary text of the required length and see the step-by-step calculation.

Your text:
(Binary string of size 2)
Function output:
(Fk result)

Final Output:

Part 2: Secure CBC-MAC

Select the option you would use to make CBC-MAC secure:



Plaintext:
Key:
IV Length (l): (where l < plaintext length/2)
IV:

๐Ÿงช Test Function Fk(text) - Secure CBC-MAC:

This section allows you to test how the cryptographic function Fk transforms binary input in the secure CBC-MAC implementation. Enter binary text of the required length and see the step-by-step calculation.

Your text:
(Binary string of size 4)
Function output:
(Fk result)

Final Output: