If I encrypt a string twice and compare them, will they be the same?I’m doing this in MySQL to compare my plain password to the one that’s encrypted and saved
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.
Provided you are using the same standard encryption algorithm and the same encryption key for a particular input string you will always get the same encrypted output. It wouldn’t make much sense if you get different outputs because then decryption would be an almost impossible task.