upash icon indicating copy to clipboard operation
upash copied to clipboard

Can support CRYPT_BLOWFISH

Open fanybook opened this issue 7 years ago • 6 comments

Use the CRYPT_BLOWFISH algorithm to create the hash. This will produce a standard crypt() compatible hash using the "$2y$" identifier.

like php

fanybook avatar Mar 07 '18 04:03 fanybook

@fanybook Thank you for opening the issue! I'll definitely look into this!

simonepri avatar Mar 07 '18 07:03 simonepri

@fanybook The point of the issue was that the bcrypt implementation should support the $2y identifier instead of only $2a and $2b or I misunderstood?

Thanks!

simonepri avatar Jul 31 '18 15:07 simonepri

ref http://www.php.net/security/crypt_blowfish.php

JanTvrdik avatar Jul 31 '18 22:07 JanTvrdik

Sorry but I still don't get the point. Blowfish is just a cipher and it's used internally by bcrypt.

simonepri avatar Aug 01 '18 08:08 simonepri

I want to get a hash using $2y$ prefix because i mixed use of php and js

My password was made by Laravel(php)

I hope hash check is true in js

fanybook avatar Aug 01 '18 12:08 fanybook

i had the same problem as @fanybook , i had an old system in Elixir that create encrypted passwords using bcrypt. but elixir doesn't support $2y prefix and I need to force laravel to generate hashes with $2a that is suported by blowfish but i don't know if is it possible

cgarcia-lightit avatar Nov 24 '23 22:11 cgarcia-lightit