Skip to content

Commit

Permalink
show import
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 16, 2017
1 parent 4b14217 commit 430e0e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ You may encrypt a value using the `encrypt` helper. All encrypted values are enc

Encrypted values are passed through `serialize` during encryption, which allows for encryption of objects and arrays. Thus, non-PHP clients receiving encrypted values will need to `unserialize` the data. If you would like to encrypt and decrypt values without serialization, you may use the `encryptString` and `decryptString` methods of the `Crypt` facade:

use Illuminate\Support\Facades\Crypt;

$encrypted = Crypt::encryptString('Hello world.');

$decrypted = Crypt::decryptString($encrypted);
Expand Down

0 comments on commit 430e0e0

Please sign in to comment.