Secure Random Numbers

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

  • easy
  • Pro

Your password reset tokens are generated with the language's ordinary random number function seeded with the current time. Explain why this is dangerous and what you should use instead.

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 →