Subject: [Sip] about md5 algorithm for authorization header

From: "Oossy air" <[email-masked]>
Date: Mon, 27 Aug 2001 11:30:45 +0700

I read document in RFC 1321 .
 But i have some ploblem i don't understand in
 
request-digest  =<"> < KD ( H(A1), unq(nonce-value) ":" H(A2) ) ><">

request-digest  = "KD(H(A1),unq(nonce-value) ":" H(A2) )"

A1 = unq(username-value) ":" unq(realm-value) ":" passwd
A2 = Method ":" digest-uri-value

what KD?,H?

if i have
user : "Mufasa"
realm : "[email-masked]"
passwd : "Circle Of Life"
nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093"

I understand that

A1 = Mufasa:[email-masked]:Circle Of Life
A2 = GET:/dir/index.html
request-digest  ="6629fae49393a05397450978507c4ef1"
 
H(A1) = MD5(A1) --->= "a7a51364a1de242a70b8845e528a7cc1"
H(A2) = MD5(A2)--->=  "39aff3a2bab6126f332b942af96d3366"
  
so KD ( H(A1), unq(nonce-value) ":" H(A2))  
I think concat H(A1),unq(nonce-value) :H(A2)

a7a51364a1de242a70b8845e528a7cc1,dcd98b7102dd2f0e8b11d0f600bfb0c093:39aff3a2bab6126f332b942af96d3366

and then KD(H(A1), unq(nonce-value) ":" H(A2)) = MD5(H

(A1), unq(nonce-value) ":" H(A2))
 
So MD5(a7a51364a1de242a70b8845e528a7cc1,dcd98b7102dd2f0e8b11d0f600bfb0c093:39aff3a2bab6126f332b942af96d3366)
    = d6f5a12596316a226554a4ce76d99026 but not correct

if you have suggestion for me again will thanks a lot
oossy