psypanda / hashID

Software to identify the different types of hashes -
http://psypanda.github.io/hashID
1.33k stars 180 forks source link

Do not recognize bcrypt b form #40

Open Hedroed opened 5 years ago

Hedroed commented 5 years ago

Hello,

Bcrypt hashes can be prefixed by $2b$. Source: wikipedia

For example hashes like $2b$10$Ty6z.p2lAZjVZU/wFG3YT.B0R8rTak4YkSEECD2gupfSFKjvQwc16 are not recognized as bcrypt hash by hashid.

Regex can be fixed by adding the b inside.