Skip to main content
← CoursesFastAPI ProductionModule 2 · Pydantic & ValidationWebhook receivers with signature verificationquiz32 / 101
💬 Discuss🧪 Playground+100 XP
Task
📝 **Question:** Why use `hmac.compare_digest(a, b)` instead of `a == b` for signatures? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.

Keep going

🎯 Quiz

Question

📝 **Question:** Why use `hmac.compare_digest(a, b)` instead of `a == b` for signatures? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
📣 Help someone learn PythonShare this lesson with a friend — the first 15 are free, no signup.Tweet

💬 Discussion

Be the first to ask a question or share a tip.
Sign in to join the discussion. Reading is free.
Loading discussion…