RFR: 8325506: Ensure randomness is only read from provided SecureRandom object

Weijun Wang weijun at openjdk.org
Thu Feb 8 16:38:22 UTC 2024


Many crypto service classes require a `SecureRandom` object at initialization. This test goes through each of them and calculates (generate, encrypt, sign,...) twice with the same `SecureRandom` object and ensures the output is the same.

-------------

Commit messages:
 - initial change

Changes: https://git.openjdk.org/jdk/pull/17776/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17776&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8325506
  Stats: 495 lines in 6 files changed: 490 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/17776.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17776/head:pull/17776

PR: https://git.openjdk.org/jdk/pull/17776


More information about the core-libs-dev mailing list