Docsity

Advanced Cryptography Quiz: Practice Questions, Exams of Cryptography and System Security

Toggle sidebar
bg1
ADVANCED CRYPTOGRAPHY QUIZ PRACTICE QUESTIONS
1. Which of the following are true statements about RSA?
A. Based on integer factorization problem ✅
B. Uses Euler’s totient function for key generation ✅
C. Encryption and decryption keys are always the same
D. Vulnerable to chosen ciphertext attacks without padding ✅
2. In elliptic curve cryptography (ECC), which parameters define the
curve?
A. Prime modulus p ✅
B. Curve coefficients a and b ✅
C. Generator point G ✅
D. Private key d
3. Which are valid padding schemes used in RSA encryption?
A. PKCS #1 v1.5 ✅
B. OAEP ✅
C. CBC
D. CTR
4. What are common post-quantum cryptography candidates?
A. Lattice-based cryptography ✅
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Advanced Cryptography Quiz: Practice Questions and more Exams Cryptography and System Security in PDF only on Docsity!

ADVANCED CRYPTOGRAPHY QUIZ PRACTICE QUESTIONS

1. Which of the following are true statements about RSA?  A. Based on integer factorization problem ✅  B. Uses Euler’s totient function for key generation ✅  C. Encryption and decryption keys are always the same  D. Vulnerable to chosen ciphertext attacks without padding ✅ 2. In elliptic curve cryptography (ECC), which parameters define the curve?  A. Prime modulus p ✅  B. Curve coefficients a and b ✅  C. Generator point G ✅  D. Private key d 3. Which are valid padding schemes used in RSA encryption?  A. PKCS #1 v1.5 ✅  B. OAEP ✅  C. CBC  D. CTR 4. What are common post-quantum cryptography candidates?  A. Lattice-based cryptography ✅

 B. Code-based cryptography ✅  C. RSA  D. Multivariate polynomial cryptography ✅

5. Which of these are properties of Zero-Knowledge Proofs?  A. Completeness ✅  B. Soundness ✅  C. Zero-knowledge ✅  D. Deterministic output 6. In Diffie-Hellman key exchange, what is the significance of the discrete logarithm problem?  A. Its hardness ensures the security of the key exchange ✅  B. Allows public keys to be calculated efficiently ✅  C. It is easily solvable with classical computers  D. Vulnerable to quantum algorithms like Shor’s algorithm ✅ 7. Which of these cryptanalysis methods specifically target block ciphers?  A. Differential cryptanalysis ✅  B. Linear cryptanalysis ✅  C. Side-channel attacks

 B. Public exponent e is usually small and fixed ✅  C. Private exponent d is derived using modular inverse ✅  D. Private key can be derived from the public key alone

12. Which are examples of group-based cryptography?  A. Elliptic Curve Cryptography (ECC) ✅  B. RSA  C. Diffie-Hellman ✅  D. AES 13. Which are common vulnerabilities related to implementation flaws?  A. Timing attacks ✅  B. Fault injection attacks ✅  C. Use of weak random number generators ✅  D. Perfect forward secrecy 14. What are the main features of the SHA-3 hash function family?  A. Sponge construction ✅  B. Resistance to length extension attacks ✅  C. Uses Merkle–Damgård construction  D. Variable output size ✅

15. Which of the following can be used for forward secrecy in secure communications?  A. Ephemeral Diffie-Hellman key exchange ✅  B. Long-term RSA keys  C. Perfect forward secrecy requires key rotation ✅  D. Static public keys 16. What are the main weaknesses of the MD5 hash function?  A. Vulnerable to collision attacks ✅  B. Fast computation speed (enables brute force)  C. Susceptible to length extension attacks ✅  D. Provides strong preimage resistance 17. Which of the following cryptographic protocols use both symmetric and asymmetric encryption?  A. SSL/TLS ✅  B. PGP ✅  C. AES  D. SSH ✅ 18. What cryptographic assumptions underpin the security of ECC?  A. Discrete logarithm problem over elliptic curves ✅  B. Integer factorization problem

 A. Use of nonces ✅  B. Session keys  C. Timestamps ✅  D. Public keys

23. Which of the following are true about lattice-based cryptography?  A. Offers resistance to quantum attacks ✅  B. Based on hardness of certain lattice problems ✅  C. Widely used in current SSL/TLS implementations  D. Efficient for homomorphic encryption schemes ✅ 24. What is the role of the modulus in modular arithmetic used in cryptography?  A. Limits the range of values ✅  B. Ensures cyclic group properties ✅  C. Prevents overflow  D. Used only in symmetric cryptography 25. Which of the following are true about Perfect Forward Secrecy (PFS)?  A. Past communications remain secure if long-term keys are compromised ✅  B. Requires ephemeral session keys ✅  C. Achieved by using static RSA keys

 D. Prevents man-in-the-middle attacks ✅

26. Which of these are true statements about homomorphic encryption?  A. Allows computation on ciphertexts ✅  B. Enables encrypted data processing without decryption ✅  C. Is widely used in everyday internet browsing  D. Can be fully or partially homomorphic ✅ 27. Which of the following cryptographic constructs use bilinear pairings?  A. Identity-Based Encryption (IBE) ✅  B. Elliptic Curve Cryptography ✅  C. RSA  D. Pairing-based signatures ✅ 28. What are the effects of quantum computing on classical cryptographic algorithms?  A. Shor’s algorithm breaks RSA and ECC efficiently ✅  B. Grover’s algorithm speeds up symmetric key brute force attacks ✅  C. Quantum computers have no impact on cryptography

32. What are the components of a digital certificate?  A. Public key ✅  B. Signature of issuing CA ✅  C. Private key  D. Validity period ✅ 33. Which of the following best describe the Elliptic Curve Discrete Logarithm Problem (ECDLP)?  A. Finding the integer k given points P and kP ✅  B. Easy to solve with classical computers  C. Basis of ECC security ✅  D. Equivalent to factoring large integers 34. What is the main difference between symmetric and asymmetric encryption?  A. Symmetric uses the same key for encryption and decryption ✅  B. Asymmetric uses a pair of keys: public and private ✅  C. Symmetric is always slower  D. Asymmetric is used primarily for bulk data encryption 35. Which of the following are valid digital signature algorithms?  A. RSA-PSS ✅

 B. DSA ✅

 C. ECDSA ✅

 D. AES

36. What are common countermeasures to timing attacks?  A. Constant-time algorithms ✅  B. Randomized delays ✅  C. Obfuscation  D. Using longer keys 37. Which of the following best describe the birthday paradox in cryptography?  A. Probability of hash collisions increases with more inputs ✅  B. Used to attack symmetric keys  C. Exploits weaknesses in block ciphers  D. Implies shorter hash outputs are less secure ✅ 38. Which of the following statements about cryptographic nonce are correct?  A. Must never be reused with the same key ✅  B. Adds randomness to encryption ✅  C. Can be public or private  D. Serves as the encryption key

 C. Have a group structure ✅  D. Always symmetric about the x-axis

43. Which of the following are examples of padding oracle attacks?  A. Vaudenay attack ✅  B. Lucky 13 attack ✅  C. Side-channel timing attack  D. Heartbleed 44. Which of the following statements about TLS 1.3 are true?  A. Removes support for RSA key exchange ✅  B. Enables 0-RTT data transmission ✅  C. Uses only symmetric encryption  D. Improves forward secrecy ✅ 45. What are the components of the RSA private key?  A. Public exponent e  B. Private exponent d ✅  C. Primes p and q ✅  D. Modulus n ✅ 46. Which of the following cryptographic functions are reversible?  A. Symmetric encryption ✅

 B. Asymmetric encryption ✅  C. Hash functions  D. Digital signatures

47. What is the function of the Initialization Vector (IV) in encryption?  A. Prevents deterministic encryption ✅  B. Adds randomness to ciphertext ✅  C. Used as a secret key  D. Ensures ciphertext length matches plaintext 48. Which are true about homomorphic encryption schemes?  A. Fully homomorphic encryption supports arbitrary computations on ciphertext ✅  B. Partially homomorphic encryption supports limited operations ✅  C. Homomorphic encryption is computationally cheap  D. Enables privacy-preserving data analysis ✅ 49. What are typical usages of elliptic curve cryptography?  A. Digital signatures ✅  B. Key exchange ✅  C. Symmetric encryption  D. Pseudorandom number generation