Make sure that using this pseudorandom number generator is safe here.

Stevan
Stevan
Member
310 Points
20 Posts

I have following code to generate next random number:

Thread.Sleep((new Random()).Next(100, 1000));

But SonarQube is showing security hotspot as:

Make sure that using this pseudorandom number generator is safe here.
Views: 1585
Total Answered: 0
Total Marked As Answer: 0
Posted On: 17-Feb-2023 01:59

Share:   fb twitter linkedin
Answers
 Log In to Chat