









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A cryptography quiz designed for exam preparation, covering a wide range of topics from symmetric and asymmetric key algorithms to digital signatures and cryptographic hash functions. It includes questions on the properties of cryptographic hash functions, public key cryptography algorithms, and typical uses of digital signatures. The quiz also explores goals of cryptography, common modes of operation for block ciphers, and techniques used to resist side-channel attacks. Additionally, it covers vulnerabilities in cryptography, characteristics of a one-time pad, components of a public key infrastructure (pki), and examples of asymmetric key algorithms used for encryption. The questions are designed to test understanding of key concepts and practical applications in cryptography, making it a valuable resource for students and professionals in the field. The quiz also includes questions about tls, hmac, and digital certificate components.
Typology: Exams
1 / 15
This page cannot be seen from the preview
Don't miss anything!










1. Which of the following are examples of symmetric-key algorithms? A. AES ✅ B. RSA C. DES ✅ D. ECC 2. What properties should a cryptographic hash function have? A. Collision resistance ✅ B. One-way function ✅ C. Easily reversible D. Fixed output length ✅ 3. Which of these are public key cryptography algorithms? A. RSA ✅ B. DSA ✅ C. AES D. Diffie-Hellman ✅ 4. What are typical uses of digital signatures? A. Authenticating sender ✅
B. Ensuring message integrity ✅ C. Encrypting data D. Providing confidentiality
5. What can be considered goals of cryptography? A. Confidentiality ✅ B. Integrity ✅ C. Authenticity ✅ D. Availability 6. Which are common modes of operation for block ciphers? A. ECB B. CBC ✅ C. CTR ✅ D. SHA- 7. What techniques are used to resist side-channel attacks? A. Constant-time algorithms ✅ B. Using random padding ✅ C. Key rotation D. Short keys
12. Which of the following are true about Diffie-Hellman key exchange? A. Allows two parties to establish a shared secret ✅ B. Provides authentication C. Vulnerable to man-in-the-middle attacks if unauthenticated ✅ D. Uses private and public keys 13. Which are typical hash functions? A. MD B. SHA- C. SHA- D. AES (Correct: A, B, C) 14. Which of these cryptographic concepts are related to ensuring data integrity? A. Hashing ✅ B. Digital signatures ✅ C. Encryption D. Key exchange 15. Which of the following are examples of cryptanalysis attacks?
A. Ciphertext-only attack ✅ B. Known-plaintext attack ✅ C. Chosen-ciphertext attack ✅ D. Hash collision attack ✅
16. Which are advantages of elliptic curve cryptography (ECC)? A. Smaller key sizes for equivalent security ✅ B. Faster computations ✅ C. Easier to implement than RSA D. Based on factoring large primes 17. What are the purposes of padding in block ciphers? A. To make plaintext a multiple of block size ✅ B. To add randomness C. To prevent certain attacks ✅ D. To encrypt the key 18. Which of the following can be used for message authentication? A. MAC (Message Authentication Code) ✅ B. HMAC ✅ C. Digital signatures ✅ D. Hash functions only
22. Which of the following algorithms are vulnerable to collision attacks? A. MD5 ✅ B. SHA-1 ✅ C. SHA- D. SHA- 23. Which are important properties for a cryptographic random number generator? A. Unpredictability ✅ B. Repeatability C. Uniform distribution ✅ D. Fast computation 24. Which are common symmetric encryption algorithms? A. AES ✅ B. Blowfish ✅ C. RSA D. DES ✅ 25. Which methods are used to verify digital certificates? A. Checking CA signature ✅ B. Validating certificate chain ✅
C. Decrypting the public key D. Using symmetric keys
26. What is the purpose of a nonce in cryptographic protocols? A. Prevent replay attacks ✅ B. Increase encryption speed C. Add randomness ✅ D. Serve as a key 27. What are typical components of a digital signature? A. Hash of the message ✅ B. Encrypted hash with sender’s private key ✅ C. Plaintext message D. Public key of the receiver 28. Which are true statements about public keys? A. They are shared openly ✅ B. Used to encrypt messages ✅ C. Must be kept secret D. Used to verify digital signatures ✅ 29. Which of these are symmetric cipher modes of operation? A. ECB
D. Encrypt with sender’s private key
33. Which of the following are true about TLS? A. Uses certificates to authenticate servers ✅ B. Encrypts data during transmission ✅ C. Only secures emails D. Uses both symmetric and asymmetric encryption ✅ 34. What are the benefits of using HMAC? A. Provides data integrity ✅ B. Provides message authentication ✅ C. Encrypts messages D. Prevents replay attacks ✅ 35. What cryptographic attacks can exploit weak random number generators? A. Predicting keys ✅ B. Brute force attacks C. Replay attacks D. Side-channel attacks ✅ 36. Which of these are digital certificate components? A. Public key ✅
B. Issuer information ✅ C. Private key D. Validity period ✅
37. What are valid reasons to rotate cryptographic keys? A. Limit exposure if key is compromised ✅ B. To comply with security policies ✅ C. To speed up encryption D. To prevent replay attacks 38. Which cryptographic primitives can be used to build a secure communication system? A. Encryption ✅ B. Hashing ✅ C. Digital signatures ✅ D. Compression 39. Which are common characteristics of strong passwords? A. Long length ✅ B. Use of special characters ✅ C. Dictionary words D. Mix of uppercase and lowercase ✅
44. Which cryptographic tools are used in Bitcoin? A. SHA-256 ✅ B. ECDSA ✅ C. AES D. MD 45. What types of attacks are prevented by the use of Initialization Vectors (IVs)? A. Replay attacks ✅ B. Pattern detection in ciphertext ✅ C. Man-in-the-middle attacks D. Key recovery attacks 46. Which of these are consequences of poor key management? A. Key leakage ✅ B. Unauthorized access ✅ C. Improved system performance D. Data breaches ✅ 47. What is the main advantage of public-key cryptography?
A. Faster than symmetric encryption B. Enables secure key exchange ✅ C. No need to share private keys ✅ D. Requires less computational power
48. Which of the following are true about cryptographic protocols? A. Define rules for secure communication ✅ B. Include key exchange mechanisms ✅ C. Replace encryption algorithms D. Are vulnerable to protocol downgrade attacks ✅ 49. What are characteristics of a secure cryptographic algorithm? A. Resistance to known attacks ✅ B. Uses large keys ✅ C. Easy to reverse D. Efficient performance ✅ 50. Which of the following are examples of asymmetric cryptography use cases? A. Email encryption ✅ B. Digital signatures ✅ C. Disk encryption