XMPP Digest MD5 auth process

Can anyone explain me the Digest MD5 auth process of XMPP??

How response is calculated and what is cnonce and how it is calculated?

My email id is kaustubh123@yahoo.co.in

please help me .