Yes, there is Md5() for javascript ;)

http://pajhome.org.uk/crypt/md5/

I tried it and it works just fine! :)

"Nicolas Costes" <[EMAIL PROTECTED]> wrote in message
00fd01c13a94$e3329b80$0100a8c0@p2333">news:00fd01c13a94$e3329b80$0100a8c0@p2333...
> Hellorgh, all !!!
> Does anyone knows if there is a way to MD5-encode strings with JavaScript
?
>
> I use MD5() to encode passwords then insert them in my account database,
> and when a user logs in, i do MD5($password_provided_by_form) to compare
it
> with the one stored in the DB.
> Ok, fine, I cannot see the users's passwords but when they log in,
everyone
> can sniff it !!!
>
> That's why i'd like to encode passwords at client-side.... a Javascript
> MD5() function should be fine, but i think it doesn't exists .... and I
> can't use (and i don't know how to ;~p ) SSL, https: ....
>
> Someone's got any solution ????
>
> Thanx,
>
>
>     (°-        Nayco,
>     //\        [EMAIL PROTECTED]
>     v_/_     http://nayco.free.fr
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to