mercredi 23 septembre 2015

Change cipher in Laravel encryption

Previously, Laravel uses MCRYPT_RIJNDAEL_128 cipher for encryption (in <5.0). Now it's AES-256-CBC (>=5.1). Mcrypt seems to be abandonware and we should not use it.

I have an app written for Laravel <5.1 and migrated to Laravel 5.1. Can I change the cipher, or will it break everything? (stored hashed password, etc.)



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire