RFC: http://www.ietf.org/rfc/rfc2617.txt
Wikipedia: http://en.wikipedia.org/wiki/Digest_access_authentication
PHP kód: http://www.xiven.com/sourcecode/digestauthentication.php