Relates :
|
|
Relates :
|
The following new required Cipher algorithms were approved as part of JDK-8015388: AES/GCM/NoPadding (128) AES/GCM/PKCS5Padding (128) "AES/GCM/PKCS5Padding (128)" should be removed from this list. PKCS5Padding is not a valid padding for AES. There is a bug in the JDK in which the SunJCE provider accepts PKCS5Padding as a valid padding, but it should throw a NoSuchAlgorithmException (see JDK-8180392). Also, the required algorithms for JDK 9 were accidentally omitted for the Cipher class as part of JDK-8015388. The following should be added to the implementation requirements of the class summary: AES/GCM/NoPadding (128)