I have a database of users which have passwords stored in md5. Since Laravel uses bcrypt, I want to somehow convert md5 passwords into bcrypt passwords.
I can add column in the user table called "hasChangedPassword", and then hash the user passwords with bcrypt. The tricky part is, I don't know what salt Laravel uses to change their passwords, so I'm unable to do so.
I'd like to know your comments. Thanks!
you cannot convert your md5 hashes since, md5 cannot be de-crypted, you cannot read the user's passwords.
what you can do is:
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community