java.security.SecureRandom.nextBytes() takes a long time.

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 5.0u11
    • Component/s: security-libs

      FULL PRODUCT VERSION :
      1.5.0_11-b03

      ADDITIONAL OS VERSION INFORMATION :
      Red Hat Linux version 5(RHEL5)

      A DESCRIPTION OF THE PROBLEM :
      When we run our java based tool on RHEL5 is taking a long time to complete. After doing some investigation and debugging, found out that the SecureRandom methods (especially SecureRandom.nextBytes) were taking a long time(in the matter of seconds and even a minute at times) to complete.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      A stand-alone program which uses SecureRandom.nextBytes should be able to reproduce the problem onm RHEL5.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The intended operation will take a while to complete. This performance is not acceptable. The performance should match with what we see on RHEL5.
      ACTUAL -
      The intended operation will take a while to complete.

      REPRODUCIBILITY :
      This bug can be reproduced often.

            Assignee:
            Bradford Wetmore
            Reporter:
            Misha Bykov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: