Answers for "encrypt decrypt db fields laravel"

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 decrypt db fields laravel"

Browse Popular Code Answers by Language