Java SE 8u71 and Later Throws BadPaddingException when Decrypting with PBE Algorithms Using 256-bit AES Ciphers
(Doc ID 2271328.1)
Last updated on NOVEMBER 14, 2020
Applies to:Java SE JDK and JRE - Version 8 to 8
Information in this document applies to any platform.
Context: Java SE 8 with the JCE Unlimited Strength Jurisdiction Policy Files installed.
When encryption is done with Java SE 8 update 66 or lower patch updates, using PBE algorithms using 256-bit AES ciphers, e.g. PBEWithHmacSHA256AndAES_256, decryption will fail on Java SE 8u71 and higher patch updates. This results in the exception:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document