Cryptography Objective Questions and Answers

This cryptography quiz contains carefully curated objective questions with correct answers and clear explanations. It is designed for developers, security learners, and interview preparation, covering modern encryption, hashing, authentication, and security best practices.

Practice Cryptography MCQs with Detailed Explanations

Answer at least 12 questions to submit and verify answers.

1 Which algorithm is symmetric? Easy

2 What does HMAC primarily provide? Easy

3 Which hash function is considered broken due to collisions? Easy

4 Which property ensures that data has not been altered? Easy

5 Which algorithm is used for secure password hashing? Easy

6 Which algorithm is asymmetric? Easy

7 What is the primary purpose of Base64 encoding? Easy

8 Which DES variant applies encryption three times? Easy

9 What does a digital signature primarily provide? Medium

10 Which algorithm is used in JWT signing by default? Medium

11 What is the main weakness of SHA-1? Medium

12 Which encryption mode provides authentication as well? Medium

13 What is the purpose of a salt in password hashing? Medium

14 Which algorithm is used in ChaCha20-Poly1305? Medium

15 Which property ensures a sender cannot deny sending a message? Medium