hallo Ben,
also mit JavaScript ist das möglich, aber natürlich schlecht für Leute ohne JS.
Wie das mit deinem Scriptbeispiel funtionieren könnte, steht in einewm Feature-Artikel unter http://aktuell.de.selfhtml.org/artikel/javascript/md5/index.htm. Allerdings hat das nix mit .htaccess zu tun, soweit ich sehe
Grüße aus Berlin
Christoph S.