Would it be possible to add AES support to $encode/$decode() as well? I assume your crypto lib for SSL and now ZIP could have their functions repurposed.
This is not possible as the AES support is built into the zip feature of the libzip package. It is not something that mIRC handles. I might be able to add AES support to $encode/$decode separately in future.