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