calculates kd value . kd secret , data = h concat secret , '' : '' , data concode_field_sep String opaque concode_elem_sep String method concode_elem_sep String body concode_elem_sep String nonce concode_elem_sep String uri concode_elem_sep String qop concode_elem_sep String passwd concode_elem_sep String nc concode_elem_sep String response concode_elem_sep String realm concode_elem_sep String cnonce concode_elem_sep String username concode_elem_sep String algorithm concode_field_sep byte[] A1 concode_elem_sep void init concode_elem_sep String A2 concode_elem_sep String getResponse concode_elem_sep byte[] cat concode_elem_sep boolean checkResponse concode_elem_sep void main concode_elem_sep String toString concode_elem_sep String HEX concode_elem_sep AuthorizationHeader getAuthorizationHeader concode_elem_sep ProxyAuthorizationHeader getProxyAuthorizationHeader concode_elem_sep byte[] MD5 concode_elem_sep byte[] MD5
byte [ ] function ( String arg0 , String arg1 ) { StringBuffer loc0 = new StringBuffer ( ) ; loc0 . append ( arg0 ) . append ( "srini_string" ) . append ( arg1 ) ; return MD5 ( loc0 . toString ( ) ) ; }