Presentation is loading. Please wait.

Presentation is loading. Please wait.

Symmetric Message Authentication Codes Prof. Ravi Sandhu.

Similar presentations


Presentation on theme: "Symmetric Message Authentication Codes Prof. Ravi Sandhu."— Presentation transcript:

1 Symmetric Message Authentication Codes Prof. Ravi Sandhu

2 2 © Ravi Sandhu MESSAGE AUTHENTICATION CODES MAC Algorithm M Verification Algorithm V Plain- text Yes/No Plaintext + MAC INSECURE CHANNEL K A A B B K MAC = MD of plaintext + K

3 3 © Ravi Sandhu CURRENT GENERATION MAC ALGORITHMS HMAC-MD5, HMAC-SHA IETF standard general technique for constructing a MAC from a message digest algorithm Older MACs are based on secret key encryption algorithms (notably DES) and are still in use DES based MACs are 64 bit and not considered strong anymore

4 4 © Ravi Sandhu HMAC HMAC computation HMAC K (M) = h(K opad || h(K ipad || M) ) h is any message digest function M message K secret key opad, ipad: fixed outer and inner padding HMAC-MD5, HMAC-SHA


Download ppt "Symmetric Message Authentication Codes Prof. Ravi Sandhu."

Similar presentations


Ads by Google