Skip to content

Commit 2455060

Browse files
committed
Added setRandom to RandomHelper
1 parent 6327357 commit 2455060

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/de/rub/nds/modifiablevariable/util/RandomHelper.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public static BadRandom getBadSecureRandom() {
2828
return new BadRandom(getRandom(), null);
2929
}
3030

31+
public static void setRandom(Random random) {
32+
RandomHelper.random = random;
33+
}
34+
3135
private RandomHelper() {
3236
}
3337
}

0 commit comments

Comments
 (0)