Skip to content

Commit

Permalink
update to encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jun 3, 2015
1 parent 604be61 commit 638c810
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
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 `MCRYPT_RIJNDAEL_128` MCrypt cipher in CBC mode. 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-128-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
1 change: 0 additions & 1 deletion installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ The Laravel framework has a few system requirements. Of course, all of these req

<div class="content-list" markdown="1">
- PHP >= 5.5.9
- Mcrypt PHP Extension
- OpenSSL PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
Expand Down

0 comments on commit 638c810

Please sign in to comment.