Lably
Skip to content

MMH-Badger MAC

Message authentication code

  • 13 min read
  • 6 chapters

Related on Lably

Through Security, Algorithm and Probability

Introduction

The Badger MAC processes a message of length up to 264−1 bits and returns an authentication tag of length u⋅32 bits, where 1≤u≤5. According to the security needs, user can choose the value of u, that is the number of parallel hash trees in Badger. One can choose larger values of u, but those values do not influence further the security of MAC. The algorithm uses a 128-bit key and the limited message length to be processed under this key is 264.

The key setup has to be run only once per key in order to run the Badger algorithm under a given key, since the resulting internal state of the MAC can be saved to be used with any other message that will be processed later.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Computing and communication