Last active
June 27, 2020 08:29
-
-
Save erlangparasu/53936f3f9eddb9edc07c6d927bc86cdb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers; | |
// ... | |
class AppServiceProvider extends ServiceProvider | |
{ | |
// ... | |
public static function createEncrypter($key32) | |
{ | |
return new \Illuminate\Encryption\Encrypter($key32, 'AES-256-CBC'); | |
} | |
} |
Author
erlangparasu
commented
Jun 27, 2020
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment