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
Is laravel backend?
State the difference between get and post method.
Is laravel an mvc framework?
What route model binding?
Explain how to add additional sites in homestead environment?
What are accessors and mutators in eloquent and why should you use them?
What is x-csrf-token , how it is different from csrf tokens?
What is Laravel - Middleware ?
Is laravel a cms?
Please write some additional where clauses in laravel?
Explain me active record implementation. How to use it laravel?
What is controller middleware in laravel?
What version of laravel do you generally use?
What is blade in laravel?
What is composer in laravel?