http://docs.turbogears.org/1.0/IdentityManagement?action=sho...
Then there is the AuthKit extension for Pylons. Although I really like Pylons, I had some problems getting AuthKit working with the latest version.
Why reinvent a great and secure technology like SSL? The overhead of SSL would pale in comparison to rolling your own DH in JS.
Implementing multiple-precision multiplication is hardly rocket science.
> Why reinvent a great and secure technology like SSL? The overhead of SSL would pale in comparison to rolling your own DH in JS.
I'm not trying to reinvent it. I'm just trying to make a very lightweight alternative for protecting your password and nothing else. The DH in JS would just be just be run once when you logged in, not for the entire session like I'd like to do with SSL. Obviously SSL is preferable if it works.