[SIPForum-discussion] How digest response is generated

Stephen James sjames_1958 at yahoo.com
Fri Sep 5 20:17:43 UTC 2014


The MD5 sum for the digest includes other elements than just the password. Read RFC 2617 for the components that go into the MD5 sum calculations.
 
Stephen James 
sjames_1958 at yahoo.com
 
We are not princes of the earth, we are the descendants of worms, and any nobility must be earned.



________________________________
 From: Kamrul Khan <dodul at live.com>
To: "discussion at sipforum.org" <discussion at sipforum.org> 
Sent: Wednesday, August 20, 2014 5:24 PM
Subject: [SIPForum-discussion] How digest response is generated
 


 
Hi,

I am testing my sip dialer using 
HTTP digest authentication in the server side. Now, my dialer is sending the below response:

Digest username="bob", realm="192.168.146.133", nonce="5e954418", uri="sip:192.168.146.133", response="ec221690633f2ae691669c4083832fd8", algorithm=MD5

However, the original password that I set was 1234 and the md5 value of 1234 is 81dc9bdb52d04dc20036dbd8313ed055 (according to http://www.miraclesalad.com/webtools/md5.php) Now how do I match the password? can someone provide me the exact algorithm of generating this digest response so that I can write a function? 

Someone please help.

BR//Kamrul
_______________________________________________
This is the SIP Forum discussion mailing list
TO UNSUBSCRIBE, or edit your delivery options, please visit http://sipforum.org/mailman/listinfo/discussion
Post to the list at discussion at sipforum.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20140905/491e3591/attachment-0002.html>


More information about the discussion mailing list