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.

1.
Easy
Which algorithm is symmetric?
2.
Easy
What does HMAC primarily provide?
3.
Easy
Which hash function is considered broken due to collisions?
4.
Easy
Which property ensures that data has not been altered?
5.
Easy
Which algorithm is used for secure password hashing?
6.
Easy
Which algorithm is asymmetric?
7.
Easy
What is the primary purpose of Base64 encoding?
8.
Easy
Which DES variant applies encryption three times?
9.
Medium
What does a digital signature primarily provide?
10.
Medium
Which algorithm is used in JWT signing by default?
11.
Medium
What is the main weakness of SHA-1?
12.
Medium
Which encryption mode provides authentication as well?
13.
Medium
What is the purpose of a salt in password hashing?
14.
Medium
Which algorithm is used in ChaCha20-Poly1305?
15.
Medium
Which property ensures a sender cannot deny sending a message?
Answered: 0 / 15