crypto-presentation icon indicating copy to clipboard operation
crypto-presentation copied to clipboard

Slide 181+182 showing Encrypt-and-MAC?

Open ttaubert opened this issue 11 years ago • 2 comments

Sorry for nitpicking but slide 181+182 seem to show E-a-M whereas TLS uses MAC-then-Encrypt so that the MAC itself is part of the plaintext and is encrypted. While that would be correct, would it be better to show or talk about Encrypt-then-MAC? If there's even enough time to do that?

ttaubert avatar Dec 05 '15 04:12 ttaubert

I thought about that, but I wasn't sure how far into the weeds I wanted to get in a crypto 101 class. I tried to be kind of vague on the whole thing, because TLS and HMACs themselves is already pretty complicated. It's at the end of six hours of learning crypto, and I don't people's brains to be totally melted.

The finer points of E-a-M, E-t-M, and M-t-E and how HMACs are constructed are more of a crypto 102 class type topic, I would think. That said, if you think it's really misleading or confusing as it is, I can look into reworking it.

april avatar Dec 05 '15 16:12 april

I think it's indeed fine to leave as is. Guess I'm just used to people nitpicking the hell out of things :)

ttaubert avatar Dec 09 '15 16:12 ttaubert