From 70db153196fefe1b3fecc0a2476da9aa30269988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Lo=CC=88sken?= Date: Sat, 2 Jul 2016 22:08:07 +0200 Subject: [PATCH] Use cipher AES-256-CBC - Fix #898, resolve #898 - Change cipher from Rinjdael-128 to AES-256-CBC --- .env.example | 1 - config/app.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 346e181095b7..1f992a2eb99b 100644 --- a/.env.example +++ b/.env.example @@ -1,7 +1,6 @@ APP_ENV=production APP_DEBUG=false APP_URL=http://ninja.dev -APP_CIPHER=rijndael-128 APP_KEY=SomeRandomString DB_TYPE=mysql diff --git a/config/app.php b/config/app.php index bafe92b81d15..47e2c77c0dcf 100644 --- a/config/app.php +++ b/config/app.php @@ -84,7 +84,7 @@ return [ 'key' => env('APP_KEY', 'SomeRandomString'), - 'cipher' => env('APP_CIPHER', MCRYPT_RIJNDAEL_128), + 'cipher' => env('APP_CIPHER', 'AES-256-CBC'), /* |--------------------------------------------------------------------------