View file vendor/illuminate/contracts/Encryption/Encrypter.php
<?php namespace Illuminate\Contracts\Encryption; interface Encrypter { /** * Encrypt the given value. * * @param mixed $value * @param bool $serialize * @return mixed */ public function encrypt($value, $serialize = true); /** * Decrypt the given value. * * @param mixed $payload * @param bool $unserialize * @return mixed */ public function decrypt($payload, $unserialize = true); }