Digest Auth Calculator
Compute an HTTP Digest Authorization header in your browser from the RFC 2617 inputs. Every field is visible, so the response can be checked.
What this digest auth calculator does
The response is MD5 of HA1, nonce, nonce count, client nonce, qop and HA2, where HA1 is MD5 of user:realm:password and HA2 is MD5 of method:URI. The defaults are the RFC 2617 example, so the page demonstrates the algorithm against a published answer.
How to use it
Digest Auth Calculator: paste the password into the box above, set User name (default "Mufasa"), Realm (default "[email protected]"), Method (default "GET"), URI (default "/dir/index.html"), Nonce (default "dcd98b7102dd2f0e8b11d…"), Nonce count (default "00000001"), Client nonce (default "0a4f113b") and qop (default "auth"), and press Run to get the Authorization header below.
Worked example
Input:
Circle Of Life
Output:
Authorization: Digest username="Mufasa", realm="[email protected]", nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093", uri="/dir/index.html", qop=auth, nc=00000001, cnonce="0a4f113b", response="6629fae49393a05397450978507c4ef1"
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads password and returns Authorization header; reloading the page discards both.
The response is MD5 of HA1, nonce, nonce count, client nonce, qop and HA2, where HA1 is MD5 of user:realm:password and HA2 is MD5 of method:URI. The defaults are the RFC 2617 example, so the page demonstrates the algorithm against a published answer.
Compute an HTTP Digest Authorization header in your browser from the RFC 2617 inputs. Every field is visible, so the response can be checked.
How to use it
Digest Auth Calculator: paste the password into the box above, set User name (default "Mufasa"), Realm (default "[email protected]"), Method (default "GET"), URI (default "/dir/index.html"), Nonce (default "dcd98b7102dd2f0e8b11d…"), Nonce count (default "00000001"), Client nonce (default "0a4f113b") and qop (default "auth"), and press Run to get the Authorization header below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads password and returns Authorization header; reloading the page discards both.
What to Expect
Best for
- Converting password to Authorization header when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
Circle Of Life
Sample output
Authorization: Digest username="Mufasa", realm="[email protected]", nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093", uri="/dir/index.html", qop=auth, nc=00000001, cnonce="0a4f113b", response="6629fae49393a05397450978507c4ef1"
Frequently asked questions
How do I use the digest auth calculator?
Digest Auth Calculator: paste the password into the box above, set User name (default "Mufasa"), Realm (default "[email protected]"), Method (default "GET"), URI (default "/dir/index.html"), Nonce (default "dcd98b7102dd2f0e8b11d…"), Nonce count (default "00000001"), Client nonce (default "0a4f113b") and qop (default "auth"), and press Run to get the Authorization header below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.