I suggest lookup how bcrypt works, it depents on the salt.
https://laravel.com/docs/11.x/hashing#hashing-passwords
But see the php manual also on bcrypt.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello. I have a game server that allows players to register and their passwords are hashed with Bcrypt. I'm setting up a user control panel for the server, but when I'm trying to authenticate users I get the "This password does not use the Bcrypt algorithm." error. When I check my game server passwords and compare them to one Laravel generated, the only thing different is the first 3 letters. Laravel generates "$2y" and my server "$2b". If I change my password from $2b to $2y in the database, it allows me to log in without problem.
Does anyone know why Laravel doesn't recognize the password, and how I could remedy it? I want to say that I have tens of thousands of account already registered, and I would prefer not to touch them, but rather make Laravel recognize them.
Thanks!
Please or to participate in this conversation.