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

SHA1PRNGReseed.java is calling setSeed(0)

    Details

      Description

      SHA1PRNGReseed.java has a bug. It should not call "sr.setSeed(0)" because 0 means no-op (that is, 0x0000000000000000 0 adds no entropy). If a non-zero value is used it won't read system entropy.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ssahoo Sibabrata Sahoo
                Reporter:
                wetmore Bradford Wetmore
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: