fix(TDI-42192): Use SecureRandom in system routines (#2707)

This commit is contained in:
wang wei
2019-09-18 18:34:00 +08:00
committed by GitHub
parent 3d08e7a41c
commit 7b21c010e2
5 changed files with 31 additions and 9 deletions

View File

@@ -5,6 +5,8 @@
// ============================================================================
package routines;
import routines.system.RandomUtils;
public class Mathematical {
/**
@@ -381,7 +383,7 @@ public class Mathematical {
*
*/
public static double RND(double a) {
return Math.random() * a;
return RandomUtils.random() * a;
}
/**