mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-09 21:19:38 +00:00
8174909: Doc error in SecureRandom
Reviewed-by: mullan
This commit is contained in:
parent
50a683ef67
commit
cb48e2096d
@ -53,8 +53,8 @@ import java.util.Objects;
|
||||
* for CTR_DRBG. Please note that it is not the algorithm used in
|
||||
* {@link SecureRandom#getInstance}, which we will call a
|
||||
* <em>SecureRandom algorithm</em> below),
|
||||
* <li> optionally features, including prediction resistance
|
||||
* and reseeding supports.
|
||||
* <li> optional features, including prediction resistance
|
||||
* and reseeding supports,
|
||||
* <li> highest security strength.
|
||||
* </ul>
|
||||
* <p>
|
||||
|
||||
@ -64,8 +64,8 @@ import sun.security.util.Debug;
|
||||
* <blockquote><pre>
|
||||
* SecureRandom r1 = new SecureRandom();
|
||||
* SecureRandom r2 = SecureRandom.getInstance("NativePRNG");
|
||||
* SecureRandom r3 = SecureRandom("DRBG",
|
||||
* DrbgParameters.Instantiation(128, RESEED_ONLY, null));</pre>
|
||||
* SecureRandom r3 = SecureRandom.getInstance("DRBG",
|
||||
* DrbgParameters.instantiation(128, RESEED_ONLY, null));</pre>
|
||||
* </blockquote>
|
||||
*
|
||||
* <p> The third statement above returns a {@code SecureRandom} object of the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user