Support the ongoing development of Laravel.io →
posted 10 years ago
Security

Hi all,

I created a year ago a Laravel 3 application. Now I am rewriting my application to Laravel 4, yay! ^_^

This is my situation; I have a table, which contains ~ 2000 entries with encrypted data. In Laravel 3 I used this to encrypt the data:

    Crypter::encrypt('data')

Now, in Laravel 4 I am trying to decrypt this same data, which has been encrypted in laravel 3. It doesn't work.

Things I've tried:

    Crypt::setCipher('rijndael-256');
    Crypt::setKey('oldkeyfromlaravel3');

These things doesn't work. Does anyone have a suggestion for me on how to use encrypted laravel 3 data? Thanks in advance.

Thijmen

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Thijmen thijmen Joined 20 Jul 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.