AES key length.
843811Mar 21 2007 — edited Mar 22 2007Hello I am writing a untility that will allow my customer to choose between AES and DES encryption. The encrypting and decrypting is shared by several different people so we will all share a common key.
For DES the following works fine
byte key[] = "abcdEFGH".getBytes();
skeySpec = new SecretKeySpec(key, ENCRYPTION_ALGORITHEM)
I need to know how many characters are needed for AES. I did get upto
36 characters then gave up.