Top "Challenge-response" questions

Use this tag for questions about challenge-response authentication.

Is my code solution for Binary Gap is correct or not? What should I improved in that?

A binary gap within a positive integer N is any maximal sequence of consecutive zeros that is surrounded by ones …

java optimization challenge-response
Simple "Math" CAPTCHA

everyone. I am a jquery beginner and want to ask a few questions. I am coding a simple math captcha …

javascript jquery captcha challenge-response
Javascript function challenge add(1,2) and add(1)(2) both should return 3

A friend of mine challenged me to write a function that works with both of these scenarios add(2,4) // 6 add(2)(4) // 6 My …

javascript function closures challenge-response
How does challenge-response protocol help against man-in-the-middle attacks?

How does challenge-response authentication prevent man-in-the-middle attacks? I read the wiki article but still I cannot understand.

security authentication man-in-the-middle challenge-response