How to decrypt data encrypted using crypto-js in laravel?
I have this bit of code in my js : export const encrypt = (data, key) => { const encrypted = CryptoJS.AES.encrypt( JSON.stringify(data), key ).toString(); return encrypted; }; but when i decrypt it in my laravel backend : Route::post('/decrypt', function…