All quizzes
Free quiz · 34 questions in the bank

Encryption quiz

Test your Encryption knowledge with a free interactive quiz — 34 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What happens if the same 96-bit GCM nonce is reused with the same AES key for two different messages?

In this round
  1. What happens if the same 96-bit GCM nonce is reused with the same AES key for two different messages?
  2. Why is a fast general-purpose hash like plain SHA-256 a poor choice for hashing passwords?
  3. What is the fundamental difference between an HMAC and a digital signature as integrity mechanisms?
  4. What is the main practical problem symmetric encryption alone does not solve?
  5. How does code signing (e.g. signing a software release) protect end users?
  6. A well-known illustration of ECB mode's weakness is:
  7. What is "envelope encryption," a common pattern for encrypting large amounts of application data?
  8. A HMAC (Hash-based Message Authentication Code) combines a hash function with:
  9. What is the key distinction between hashing and encryption?
  10. Why does modern TLS increasingly prefer ECDHE (elliptic-curve Diffie-Hellman) key exchange over RSA key exchange?
  11. Why do production systems typically use a dedicated KMS (Key Management Service) instead of storing raw encryption keys in application config files?
  12. AES is described as a "block cipher." What does that mean?
Gaps to close?
Read the curated Encryption notes — core concepts, patterns, interview prep.
Encryption notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web