Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8210838

Override javax.crypto.Cipher.toString()

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 12
    • None
    • security-libs
    • None

    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

      Attachments

        Issue Links

          Activity

            People

              coffeys Sean Coffey
              coffeys Sean Coffey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: