See https://metacpan.org/pod/Crypt::CBC
I think this is the point....
(just want to interrupt your monologue...
good point, so for future i-mscp versions the blocksize variable would have to be replaced or removed, I don't see any other problems right now but I found blocksize in a few more places...
Crypt.pm
imscp_common_methods.pl
Base.php