🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Cryptography Basics: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. A developer says "the user's phone number is safe because we store it in Base64". What is wrong?
  2. Q2. Which tool keeps data secret but lets the owner of the key read it back?
  3. Q3. In symmetric encryption, which statement is true?
  4. Q4. What does this print? (code)
  5. Q5. Why is RSA hard to break when real keys are used?
  6. Q6. With RSA signatures, who can create a valid signature and who can verify it?
  7. Q7. What does this print? (code)
  8. Q8. What does forward secrecy (from ECDHE in HTTPS) protect against?
  9. Q9. Which is the correct way to generate a password-reset token in Python?
  10. Q10. A payment gateway signs webhooks with a secret shared with your server. Which check should your server do?