Password encryption in Ruby and laravel using Bcrypt function is not macthing

  laravel, passwords, php, ruby, ruby-on-rails

I have a existing system with Ruby & rails which is using Bcrypt for password encryption. Now I am moving system to Laravel. But I needed my existing users as it is and they should be able to login with their existing credential.

So I tried Bcrypt function in Laravel but it is not matches the password generated via Ruby and rails.

Any idea how can I match those ?


Source: Laravel

Leave a Reply