When passing data to another PHP script using Get or Post, should I encrypt it with a MD5 with salt? or is there a better way to do it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What kind of data? MD5 isn’t an encryption function, it’s a hashing function–once you MD5 it there’s no “unencrypt,” you can’t get the original data back.
If you’re transmitting critical data (e.g. credit card, bank account, or social security numbers) you should use a secure SSL connection (i.e. HTTPS).