Combination of encryption and authentication in a way that ensures confidentiality and integrity.

learn more… | top users | synonyms

125
votes
7answers
24k views

Should we MAC-then-encrypt or encrypt-then-MAC?

Most of the time, when some data must be encrypted, it must also be protected with a MAC, because encryption protects only against passive attackers. There are some nifty encryption modes which ...