Was using count($keySizes) and thought !empty($keySizes) would be clearer and missed the '!'.
fixed test, short key should be usable with blowfish.
Also test for all algorithms, just to make sure that key really is short ( < 8).