bswinnerton
asked on
Novice: AJAX password encryption?
I'm very very new to Javascript, AJAX, and JQuery.
Right now I have a modal window (fancybox) that pops up and prompts the user for a username and password, and then using AJAX passes all of the information to a PHP page using POST which then queries a MySQL database and returns an answer.
My question is, since I'm using post, is there a way like in PHP to convert it to MD5 so that it isn't in cleartext when debugging?
I've tried using this JQuery plugin: http://plugins.jquery.com/project/md5
And this javascript: http://pajhome.org.uk/crypt/md5/
But both of which give me an error in firebug saying something along the lines of "something.something is not a function".
Right now I have a modal window (fancybox) that pops up and prompts the user for a username and password, and then using AJAX passes all of the information to a PHP page using POST which then queries a MySQL database and returns an answer.
My question is, since I'm using post, is there a way like in PHP to convert it to MD5 so that it isn't in cleartext when debugging?
I've tried using this JQuery plugin: http://plugins.jquery.com/project/md5
And this javascript: http://pajhome.org.uk/crypt/md5/
But both of which give me an error in firebug saying something along the lines of "something.something is not a function".
thats a good question i had the same issue
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Hielo (you're always out there to help me out!)
With the sample you just wrote are you assuming the jquery plugin or the javascript include?
With the sample you just wrote are you assuming the jquery plugin or the javascript include?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.