[#5256] allow keys with less than maximum supported key length.
fixed coding style.
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).
Test key needs to be shorter than the shortest supported key size, which
is 5 bytes (cast-128). Replaced it with 'four'.
It slipped because somehow on cygwin cast-128 only support 16 bytes.
Merge branch 'master' of https://github.com/zendframework/zf2 into zf5256
added open/close braces.
Merge branch 'zf5256' of https://github.com/imel96/zf2 into imel96-zf5256
Fixed indentation of test