Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

I think I need to correct some misunderstandings I have about AEAD. What is associated data used for in authenticated encryption?

share|improve this question
add comment

1 Answer 1

up vote 7 down vote accepted

What the associated data is used for: Anything you want to use it for.

If you have some data that you want authenticated, but does not need to be confidential, then you use that as "associated data". For instance, consider a packet encryption scheme. You might want the packet payload to be authenticated and encrypted, but the packet header to be authenticated but not encrypted. In that scenario, you could make the packet payload the "data", and make the packet header the "associated data".

AEAD provides a generic primitive, so you can choose which data needs both confidentiality and authentication, vs which data only needs authentication, based upon your needs in any particular situation.

share|improve this answer
    
Nice clear explanation. –  this.josh Jun 22 '11 at 20:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.