SECTION 02 · 7 MIN READ & EXPLORE
Digest and the challenge
Explore how a server challenge changes the authentication exchange.
DEMONSTRATION CONTENTDigest authentication uses a challenge and a computed response instead of sending a Basic-style encoded password. The server provides a nonce; the client combines challenge data, credentials, and request information to calculate a response.
Follow the ingredients
The details depend on the selected algorithm and quality-of-protection settings. Start by tracing the purpose of these fields:
| Field | What to investigate |
|---|---|
realm |
Which protection space are these credentials for? |
nonce |
What challenge value did the server issue? |
uri |
Which request target is included in the calculation? |
response |
What computed proof does the client return? |
A useful limit
Digest does not encrypt the response body and should not be treated as a replacement for HTTPS. Its security depends on details including algorithms, passwords, nonce handling, and the surrounding system.
Check your understanding
How does the server challenge influence what the client sends? Which parts of the HTTP exchange remain unencrypted without TLS?
Take a moment to explain the idea in your own words.