3. Cryptography

Hashing And Macs — Quiz

Test your understanding of hashing and macs with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

Which hash function property makes it infeasible to find a different input that produces the same hash as a given input?

Question 2

You download a file and compute its SHA-256 hash, which matches the publisher’s published hash. Which security property does this guarantee?

Question 3

If a hash function produces a 128-bit output, approximately how many hash evaluations are required to find a collision via a brute-force birthday attack?

Question 4

What is the primary purpose of adding a unique salt to each password before hashing in a storage system?

Question 5

In comparing a Message Authentication Code (MAC) with a digital signature, which statement is true?
Hashing And Macs Quiz — Cybersecurity | A-Warded