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

MSCAPI's PRNG is too slow

XMLWordPrintable

    • b95
    • generic
    • generic

      SecureRandom sr = SecureRandom.getInstance(args[0], args[1]);
      for(int i = 0; i < Integer.parseInt(args[2]); i++)
          sr.nextBoolean();

      args: SHA1PRNG SUN 1000. result: 0.1s
      args: PRNG SunMSCAPI 1000. result: 5.6s

      Find this while evaluating 6445557.

            weijun Weijun Wang
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: