Hello everyone.
I've implemented encryption and decryption using the Crypt facade and started testing. I noticed that if I make changes to the encrypted token in a hidden field on the client side, I get the error
Illuminate\Contracts\Encryption\DecryptExceptionThe payload is invalid.
when attempting to decrypt. I tried catching exceptions, and this is what it looks like