Hi again,

I'm looking for a way to encrypt a password client side (javascript?) and decrypt it server side using php, since I've build me a login script. The reason for this is that I don't want any 'sniffers' to see the passwords sent to the server in plain text. Does anyone know of a simple way of accomplishing this? Thanks! 🙂

    Sure, you could use javascript, but anyone will be able to just pull down your script and see how you're encrypting the passwords...

      Well, the way I would do it would probably be through a java applet, but there's still holes in that. Pretty much anything you do on the client side will leave you succeptable

        Hmm, you're right, but I'd still like to encrypt it I guess 🙂

          you could just use SSL?

            Hehe, right, but I don't want to buy myself a new, valid certificate 😉

              SSL is the safest way to go. SSL makes sniffing more difficult.

                Write a Reply...