title: Encryption and decryption in Laravel 5
body: <p>I have been looking for ideas on encrypting and decrypting values in Laravel (like VIN Numbers, Employee ID Card Numbers, Social Security Numbers, etc.) and recently found this on the Laravel website: <a href="https://laravel.com/docs/5.6/encryption" rel="nofollow noreferrer">https://laravel.com/docs/5.6/encryption</a></p>
  
  <p>My question is, how would I print the decrypted values on a blade template? I could see going through the controller and setting a variable and then printing it to a Blade, but I was curious as to how I would also print a decrypted value to an index? Like so...</p>
  
  <pre><code>@foreach($employees as $employee)
  {{$employee-&gt;decrypted value somehow}}
  {{$employee-&gt;name}}
  @endforeach
  </code></pre>