Answer Posted / 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 |
Post New Answer View All Answers
Which template engine is used by laravel?
What do you know about traits in laravel?
What is validation in laravel and how it is used?
What is guard in laravel authentication?
How to start valet?
Explain about Form without CSRF token in Laravel ?
Tell me what is official website url of laravel?
How to create Creating a Controller ?
What is mvc framework?
What is meant by check method ?
What are the main differences between laravel 4 and laravel 5.x?
What is boot method in laravel?
What are the feature of laravel 5.0?
How to registering middleware in laravel?
What are the databases laravel supports?