Skip to content

Commit

Permalink
Disable secure random request id by default
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ committed Jul 16, 2023
1 parent 1b84d11 commit bd76d04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public Request(long id) {

static {
long startID = ThreadLocalRandom.current().nextLong();
if (Boolean.parseBoolean(System.getProperty(USE_SECURE_RANDOM_ID, "true"))) {
if (Boolean.parseBoolean(System.getProperty(USE_SECURE_RANDOM_ID, "false"))) {
try {
SecureRandom rand = new SecureRandom(SecureRandom.getSeed(20));
startID = rand.nextLong();
Expand Down

0 comments on commit bd76d04

Please sign in to comment.