From 7f51ee11f89757bcb8444072fd370f1c4c335716 Mon Sep 17 00:00:00 2001 From: trupedia Date: Tue, 9 Jun 2015 19:31:55 +0200 Subject: [PATCH] Fix for correct encryption cipher --- encryption.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encryption.md b/encryption.md index 036888ab85d..612738ed797 100644 --- a/encryption.md +++ b/encryption.md @@ -13,7 +13,7 @@ Before using Laravel's encrypter, you should set the `key` option of your `confi #### Encrypting A Value -You may encrypt a value using the `Crypt` [facade](/docs/{{version}}/facades). All encrypted values are encrypted using the OpenSSL and the `AES-128-CBC` cipher. Furthermore, all encrypted values are signed with a message authentication code (MAC) to detect any modifications to the encrypted string. +You may encrypt a value using the `Crypt` [facade](/docs/{{version}}/facades). All encrypted values are encrypted using the OpenSSL and the `AES-256-CBC` cipher. Furthermore, all encrypted values are signed with a message authentication code (MAC) to detect any modifications to the encrypted string. For example, we may use the `encrypt` method to encrypt a secret and store it on an [Eloquent model](/docs/{{version}}/eloquent):