All challenges
Multiple ChoiceIntermediate 30s

secrets vs random

Choose the best answer for: security tokens
Options
  1. 1tokens don't need randomness and can use any constant
  2. 2Use secrets module for cryptographic tokens
  3. 3Both are equally secure since both use the same PRNG
  4. 4random is secure for tokens because it is seeded

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle