Closed mitchellwrosen closed 1 year ago
I think it's there to show a minimum which is not too weak. Wikipedia mentions a minimum of 32 bits like in the original papers. Internally blowfish repeats the byte sequence. Encryption result is not changed when appending a small key to itself.
I noticed that the
Blowfish
cipher declares a key size of between 6-56 bytes, and theBlowfishN
variants declare an exact key size, butcipherInit
accepts any key <= 56 bytes for all of them. Is that intentional?