Simple question: Do I need to escape a string before hashing it, in other words, let’s say a users password is “SF$@#$@#” do I need to escape that string before hashing it with PHP hash?
The answer is: no.
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.
No, you do not.
There are no characters that are “special” to a hash function – they treat the string as inert data.