Fixed blowfish implementation to work with Lineage 2
Code cleanup