Cipher cipher = Cipher.getInstance("AES");
and
Key key = new SecretKeySpec(keyValue, "AES");
What version of AES is this using, and how can i specify 128/256 bit?
edit: 'keyValue is a string.getBytes(), and im pretty sure that determines the 128/256 bits, so how long should my 'keyValue' be to make it 256 bit encryption?
edit2: more details:
final String key = "TrIlGnUmAkUkQkPe";
final byte[] keyValue = key.getBytes();