Skip to content

Commit

Permalink
Fix for correct encryption cipher
Browse files Browse the repository at this point in the history
  • Loading branch information
trupedia committed Jun 9, 2015
1 parent ccb069f commit 7f51ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down

0 comments on commit 7f51ee1

Please sign in to comment.