Encrypt with AES::encrypt but, how to decrypt with Java?
Hello.
With Java, you must get a Cypher:
Cipher decryptCipher = Cipher.getInstance("AES");
decryptCipher.init(Cipher.DECRYPT_MODE, getSecretKey());
by...
There is no way to control the padding, no. PKCS padding is always used. I would recommend filing an RFE for this. Sorry that this probably isn't what you wanted to hear.