Does hash values contain quotes?
If it is dependent to the algorithm, I want to know about blowfish
using phpass
.
I'm asking in regard to SQL injection because I don't want prepare
the query for authentication
and use place holders
, just wrapping the username
and password hash
in quotes. ( I also have doubt that is username
safe when just be validated to only consist of word chars [a-wA-W1-9_]
(no quotes or other special chars)? )