Welcome Guest, Not a member yet? Register   Sign In
decrypt data encrypted by CI 2.4 with CI 3.1
#1

(This post was last modified: 08-05-2018, 03:37 AM by mnoman.)

Hi,

After upgrading my application from CI 2.4 to CI 3.1, including changing Encrypt lib to Encryption, I found all decoded data returned empty strings.

Is there an easy way to make the new encryption library decode this data?

I think I need to use the correct parameters here:


PHP Code:
$this->encryption->decrypt($legacy_encoded_string,array(
                'cipher' => MCRYPT_RIJNDAEL_256,
                'mode' => MCRYPT_MODE_CBC,
                'key' => $my_key,
        )) 

any idea?

Thank you
Reply


Messages In This Thread
decrypt data encrypted by CI 2.4 with CI 3.1 - by mnoman - 08-05-2018, 02:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB