# Is it possible to convert hashed password from one bcypt version to another?

I have passwords hashed using bcypt version \$2a\$ (e.g. "\$2a\$06\$...") and I want to convert them to version \$2b\$(e.g. "\$2b\$06$..."). Is it possible to do that? If yes, are there any disadvantages?

• I found this a bit of library usage see on stackoverflow Jun 1 at 11:21
• There is no difference between 2a, 2x, 2y, and 2b. If you wrote your implementation correctly, they all output the same result. Jun 1 at 11:28
• The version $2b$ is not "better" or "stronger" than $2a$. It is a remnant of one particular buggy implementation of BCrypt. But since BCrypt canonically belongs to OpenBSD, they get to change the version marker to whatever they want. Jun 1 at 11:28