Ad

Codeigniter To Laravel Decoding

I have an app in codeigniter that i am migrating to laravel

The code in codeigniter checks a password using this codeigniter library

$CI->encrypt->decode(password,key)

What would the code be to do this in laravel?

UPDATE The password was being decrypted using CodeIgniter with a given key

I am trying to find the translated code to do this in Laravel given the existing passwords in the DB

Ad

Answer

You need to migrate the necessary functions in CI library(System\Libraries\Encrypt.php) being used to Laravel.

Ad
source: stackoverflow.com
Ad