how to process the case of error ?
Ideally you would check the input ($ciphertext) to determine if it is valid before considering whether to pass it to the decryption method. If that isn't feasible for any reason then just trap the error with eg. Try::Tiny or eval.
In reply to Re: Which Crypt::XXX should I use ?
by hippo
in thread Which Crypt::XXX should I use ?
by pcouderc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |