DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Password Authentication Without Revealing Your Password
<form onsubmit="pwField.value = b64_sha256(pwField.value);">
<a href="http://blog.asgeirnilsen.com/2005/11/password-authentication-without.html">Read this</a> for more elaborations with increased security.