🇬🇧United Kingdom BryanGullan
Just to note that if the algorithm in use is AES256, you'd need to patch this differently to incorporate the iv as well.
Here's a patch to illustrate this, with the $algo hardcoded to AES256 as proof of concept.
🇬🇧United Kingdom BryanGullan
Re-rolled patch for 9.5.x