|
If I'm not mistaken, you'll have to implement these python scripts on the server's side -- the side of a server that has mod_python or so running, moreover. Then you'll use an html/server module with python to print out the HTML data and forms, as well as process the data that the user sends.
However, I'm not too familiar with python, and even less so with python&html.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
|