What is Decryption Process ?
Answer / amit khanna
Decryption of the values is done with the decrypt helper. Observe the following lines of code -
use IlluminateContractsEncryptionDecryptException;
// Exception for decryption thrown in facade
try {
$decrypted = decrypt($encryptedValue);
} catch (DecryptException $e) {
//
}
Please note that if the process of decryption is not successful because of invalid MAC being used, then an appropriate exception is thrown.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is service container?
What is the best way to learn laravel?
Tell me what is system requirement for installation of laravel 5.2 (latest version)?
What is php artisan. List out some artisan commands?
What is csrf protection?
How to work with Database in Laravel ?
Which template engine is used by laravel?
How can you generate urls?
What are view composers?
What is use of middleware in laravel?
How to register a middleware in laravel 5?
How long have you been using laravel?