Answers for "encrypt and decrypt with custom key laravel 5-1"

PHP
5

laravel encrypt decrypt

# Searched for Laravel 5.8
# Check https://laravel.com/docs/5.8/encryption for different Laravel versions.
use Illuminate\Support\Facades\Crypt;

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

$decrypted = Crypt::decryptString($encrypted);
Posted by: Guest on July-11-2020

Code answers related to "encrypt and decrypt with custom key laravel 5-1"

Browse Popular Code Answers by Language