-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Update highlighting and message
1 parent
2443550
commit 6f6cab3
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
=== Highlighting | ||
|
||
The call to SecureRandom.setSeed() or the SecureRandom(byte[]) constructor call | ||
If the RNG is predictable because a seed has been set: | ||
|
||
* The most recent function call that sets a seed. For example: | ||
- The factory method that returns the RNG, where the seed is passed as a parameter. | ||
- The RNG constructor, where the seed is a parameter. | ||
- The function call on the RNG that sets the seed. | ||
If the RNG is predictable unless a suitable seed has been set: | ||
|
||
* The function call on the RNG that returns a random value. | ||
If the factory method or constructor is not already highlighted, it should become | ||
a secondary highlight. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
=== Message | ||
|
||
Change this seed value to something unpredictable, or remove the seed. | ||
If the RNG is predictable because a seed has been set: | ||
|
||
> Change this seed value to something unpredictable, or remove the seed. | ||
|
||
If the RNG is predictable unless a suitable seed has been set: | ||
|
||
> Set an unpredictable seed before generating random values. |