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.

16.
Hard
Which algorithm is vulnerable to length extension attacks?
17.
Easy
What is the key size of AES-256?
18.
Medium
Which algorithm is commonly used for key exchange?
19.
Medium
What does PBKDF2 stand for?
20.
Medium
Which encryption mode is NOT recommended due to pattern leakage?
21.
Easy
Which algorithm uses elliptic curves?
22.
Medium
What is the main use of Shamir’s Secret Sharing?
23.
Medium
Which algorithm is designed to be fast in software?
24.
Easy
What does a CSR contain?
25.
Easy
Which hashing algorithm produces a 256-bit output?
26.
Medium
What is the purpose of Poly1305?
27.
Easy
Which cryptographic primitive ensures confidentiality?
28.
Easy
Which algorithm is commonly used for file encryption?
29.
Medium
What is the main drawback of DES?
30.
Medium
Which algorithm is recommended for modern TLS?
Answered: 0 / 15