Details
-
Enhancement
-
Status: Resolved
-
P4
-
Resolution: Fixed
-
None
-
None
-
b21
Description
javax.crypto.Cipher.toString() currently doesn't print friendly information. Perhaps, it can be improved to include algorithm, mode and padding value data
> jshell> import javax.crypto.*;
>
> jshell> Cipher cipher = Cipher.getInstance("AES");
> cipher ==> javax.crypto.Cipher@5606c0b
>
> jshell> System.out.println(cipher);
> javax.crypto.Cipher@5606c0b
> jshell> import javax.crypto.*;
>
> jshell> Cipher cipher = Cipher.getInstance("AES");
> cipher ==> javax.crypto.Cipher@5606c0b
>
> jshell> System.out.println(cipher);
> javax.crypto.Cipher@5606c0b
Attachments
Issue Links
- csr for
-
JDK-8211763 Override javax.crypto.Cipher.toString()
-
- Closed
-