password_verify() how does it work with same password?

34 Views Asked by At

I'm wondering, if two users in the database have the same password, the password_hash() will create two different hashes, is that right? And if so, how does it do it? And how does it work with password_verify() when there are two passwords that are equally the same. I'm trying to understand the works behind this one.

0

There are 0 best solutions below