posted 15 years ago
Hello everyone,
I'm encrypting using Symmetric keys and using the following code
which is working fine. but when i change the key size to 256 in
I get an error at the (cipher.init(Cipher.ENCRYPT_MODE, key);) that the keysize is illegal. how can i use 256 keysize for AES?
Thank you