Message Authentication Codes

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

Your app emails download links that include the file ID and an expiry time, and users have learnt to edit the address to get other files or extend the expiry. Explain how a message authentication code lets you detect tampering, and how you'd use one here.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →