Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Which operation is the best candidate for TLS 1.3 0-RTT early data?" on CodeWiki (https://codewiki.com/practice/mcq/foundations/tls-connections/early-data-replay/).
Context (verbatim from the page):
"""
Which operation is the best candidate for TLS 1.3 0-RTT early data?
Charge a stored payment method once
Consume a one-time password
Fetch a cacheable public object with no replay-sensitive side effect
Create a new user account
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in CS foundations. Where you are unsure, say so.