Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6685

SHA1PRNG produces less optimal results

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0M3
    • Fix Version/s: 6.0M4, 5.0M16
    • Component/s: Classlib
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Novice

      Description

      It seems that a pair of parentheses are missing to get the correct operator precedence. I just stumbled upon this bug because SHA1PRNG produces different results on Android and on my Windows machine even though both use Apache Harmony for this part.

        Attachments

        1. harmony-sha1prng-bug.patch
          0.8 kB
          Mark Junker

          Activity

            People

            • Assignee:
              hindessm Mark Hindess
              Reporter:
              fubar-coder Mark Junker
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: