search for: server_response

Displaying 3 results from an estimated 3 matches for "server_response".

2008 Aug 25
1
prototype.js Ajax is slow
...serverSideAlert();">Call server-side function</a></p> <p id="responseTxt"></p> <script type="text/javascript"> function serverSideAlert() { var request = new XMLHttpRequest(); request.open(''get'', ''/jstest/server_response'', false); request.send(null); document.getElementById(''responseTxt'').innerHTML = request.responseText; } </script> <script src="/javascripts/prototype.js" type="text/javascript"> </script> <p><a href="#"...
2006 Mar 10
3
[Prototype] understanding evalScripts
Hi, I have a misunderstanding of what I though evalScripts would do vs what it actually does. I''m wondering if there''s a way that I can make it do what I want. my initial page: <html> <head> <script... var page = ''initial''; ... <body> <div id="replaceMe" <script... page = ''in
2004 Aug 09
1
[PATCH] RPA authentication mechanism
...date(&ctx, auth->service_challenge, RPA_SCHALLENGE_LEN); + md5_update(&ctx, auth->service_timestamp, RPA_TIMESTAMP_LEN); + md5_update(&ctx, auth->pwd_md5, 16); + md5_final(&ctx, digest); +} + +/* + * Compute server -> client authentication response. + */ +static void rpa_server_response(struct rpa_auth_request *auth, + unsigned char *digest) +{ + struct md5_context ctx; + unsigned char tmp[16]; + unsigned char z[48]; + int i; + + memset(z, 0, sizeof(z)); + + md5_init(&ctx); + md5_update(&ctx, auth->pwd_md5, 16); + md5_update(&ctx, z, sizeof(z)); + md5_update(&amp...