this is all new to me and I’m trying to understand this whole concept of “hashing.” I used what you posted above, plugging in my password and what it displayed on the screen doesn’t equal what’s in my db table. I’m used to authenticating against md5 hashes.
Where do I get this value from?
“$hash = ‘hash of the password from the database’;”
Do I have to pull the hash out of the DB first and then compare it against what the user inputs?