bcrypt and randomly generated salts
Have a good look at the values you’re dealing with. The random salt generated will be, say: abcdefg… What is fed into crypt looks like this: crypt($password, ‘$2y$10$abcdefg…’) | | | | | +- the salt | +- the cost parameter +- the algorithm type The result looks like: $2y$10$abcdefg…123456789… | | | | | … Read more