I'm trying to figure out how many bits are the keys generated from a 3x3 or a 4x4 or a 5x5 HILL CIPHER. I know that a 5x5 matrix modulo 26 is about 114 bits. But what if you extended the modulus to 256? Would you be able to get 128 bits of encryption with just a 3x3 or a 4x4 hill cipher?
That gives the formula for modulus 26. I'm trying to find the formula for modulus 256.
The only thing that I can understand from explanation is: 4.64*n^2-1.7.