Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight High
- MAC: a short tag computed from the message AND a shared secret key; proves integrity and origin.
🎯 How this can come up · 1 question
MCQ
A MAC provides:
Both parties share the key, so it can’t give non-repudiation.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- HMAC = HK ⊕ opad) ‖ H((K ⊕ ipad) ‖ M: a MAC built from any hash function.
Exam weight Low
Exam weight Low
- Hash function: any-length input → fixed-length digest; no key.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight High
- Properties: preimage resistance (one-way), second-preimage resistance (weak collision), collision resistance (strong collision).
🎯 How this can come up · 1 question
MCQ
Finding ANY two messages with the same hash breaks:
Correct: Collision resistance.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight High
- Birthday attack: collisions take about 2^(n/2) tries for an n-bit hash, so 128-bit hashes give only ~64-bit collision security.
🎯 How this can come up · 1 question
MCQ
For a 160-bit hash, a birthday attack needs about:
Correct: 2⁸⁰ tries.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- Salt: a random value stored with each password hash; identical passwords give different hashes and precomputed tables fail.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- Dictionary attack: hash common words and compare. Salt + slow hashes make it expensive.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- MD5: 128-bit digest, 512-bit blocks. Broken (collisions); don’t use for security.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight High
- SHA-1: 160-bit (broken). SHA-2: SHA-224/256/384/512. SHA-512 processes 1024-bit blocks in 80 rounds.
🎯 How this can come up · 1 question
MCQ
The digest size of SHA-256 is:
Correct: 256 bits.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
No slides match this filter.














