Blowfish

This is a recompile of https://github.com/flakes/mirc_fish_10 to make it work on 64 bit windows and to work with AdiIRC, source code is attached.

Since this is made to inject itself into the mIRC's underlying sockets and AdiIRC is a completely different program, all events must be scripted to use the fish functions from the dll, some events is already added in the attached script, feel free to add more as needed.

A proper plugin will probably be added at some point using the AdiIRC API V2 instead of a script.

Thanks to ParAd0x for creating this project.

Compiled with OpenSSL-1_0_2o binaries from http://slproweb.com/

How to install

Use blowfish64 on 64 bits version of AdiIRC, otherwise 32 bits (type //echo -ag $bits to verify).

Step 1. Download the attached blowfish64.zip/blowfish32.zip.
Step 2. Unpack blowfish64.zip/blowfish32.zip into $adiircdir\Scripts\
Step 3. Type //load -rs $qt($adiircdir $+ \Scripts\fish_10.ini) and say yes to the popup dialog, if any.

Script Changes

04/16/2018

Fixed your own messages should not trigger highlights
Fixed spaces in user prefix should be replaced by fake spaces so nick column works properly

03/31/2018

Recompiled with openssl v1.0.2o.
Updated the mirc fish revision to 93aa016
Fixed an issue where the dll was being unloaded and the keys were missing.

07/17/2017

Fixed script tried to decrypt plain text emotes if the channel had a key.

03/15/2017

Fixed 32 bit was not compiled correctly.

02/05/2017

Encryption/decryption rewritten to use parseline event.
CBC support by default with fallback to ECB.
Cleanup of menus.
Added support for key exchange with mircryption CBC style.
Added configuration for CBC/ECB key per user/channel.

Thanks to ParAd0x for these changes.

08/28/2016

Fixed some path issues.

03/03/2016

Fixed decrypt topics for topicbox/channel editor.

02/05/2016

Added mcps support (thanks Fredro)
Fixed empty key hack should retry the key (thanks Fredro)

10/17/2015

Updated the mirc fish revision to 306a9e
Updated openssl libraries to 1.0.2d.
Fixed various brackets issues and bugs in the script.
Unicode characters should now work in the 1.9.9 AdiIRC beta.

03/10/2015

Fixed an issue with sending encrypted text on some networks.

02/11/2015

Added $ctrlenter check when typing /commands.

02/02/2015

Added topic decryption and /me decryption.
Added a hack for an issue where the ini file randomly is unloaded?
Added prefixnick and nickcolor support to the message output.

Troubleshoot

If you see an error like "$dll: no such file 'C:\Program Files\AdiIRC' (line 382, fish_10.ini)" type //load -rs $qt($adiircdir $+ \Scripts\fish_10.ini) and say yes to the popup dialog, if any.