Calculates the digest auth response from the values given by the server and the md5sum.
See RFC2069 for details.
This function is useful when the passwords are not stored in clear text, but instead in the same format as the .htdigest file.
Currently only supported algorithm "md5".
algorithm |
Hash algorithm to use, or |
method |
Request method, e.g. PLAY |
md5 |
The md5 sum of username:realm:password |
uri |
Original request URI |
nonce |
Nonce |
Authentication response or |