DEV Community

Discussion on: BCrypt Explained

Collapse
 
elmuerte profile image
Michiel Hendriks

Note that bcrypt does not always start with $2a. The 2 is the identifier for bcrypt. After that comes a revision. Nobody uses the original, as it had some serious flaws.

There is some weird 2x/2y thing which isn't widely adopted. (Mostly in PHP I think.)

In 2014 another issue was found and thus 2b now exists.

See also en.wikipedia.org/wiki/Bcrypt#Versi...