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

SHA1PRNGReseed.java is calling setSeed(0)

XMLWordPrintable

        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.

              ssahoo Sibabrata Sahoo (Inactive)
              wetmore Bradford Wetmore
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: