Security - MAC & PIN Blocks Quiz

Test your understanding of message authentication codes, PIN block formats, and payment security fundamentals.


Get every question correct to pass this checkpoint. You can review feedback, revise your answers, and submit again.

1. What is the fundamental difference between ANSI X9.9 and ANSI X9.19 MAC algorithms?

Select one answer.

2. Two cards share the same rightmost twelve PAN digits excluding the check digit and use the same PIN in ISO-0. Does PAN mixing guarantee distinct clear PIN blocks?

Select one answer.

3. A message carries DE53=0102010000000000. What is needed to interpret its subfields?

Select one answer.

4. Why is it critical to use constant-time comparison (subtle.ConstantTimeCompare) when verifying MACs?

Select one answer.

5. Two key check values match. What does that establish?

Select one answer.

6. Where does the MAC typically appear in an ISO8583 message?

Select one answer.

7. In the key hierarchy, what is the relationship between ZMK and ZPK?

Select one answer.

8. For PIN '5678' and PAN '4111111111111111', what are the first 4 nibbles of the clear ISO-0 PIN block (before XOR)?

Select one answer.

9. Users report incorrect-PIN responses. Which evidence should guide diagnosis?

Select one answer.

10. What is PIN translation and why does it occur?

Select one answer.

11. Peers rotate keys five minutes apart and MAC failures occur. What must a rollover design specify?

Select one answer.

12. What 12 digits from PAN '6011123456789123' are used in the ISO-0 PAN field?

Select one answer.

13. Why does an HSM never export the LMK (Local Master Key)?

Select one answer.

14. MAC inputs differ in length by eight bytes. What does this establish?

Select one answer.

15. What is the main advantage of ISO Format 4 PIN blocks over ISO Format 0?

Select one answer.

Join Discord