Use SecureRandom
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2024-08-05 19:28:35 +02:00
parent d55817f463
commit 9c0b3290f7

View File

@ -7,6 +7,7 @@ import org.apache.logging.log4j.Logger;
import java.awt.*;
import java.awt.event.InputEvent;
import java.security.SecureRandom;
import java.util.Random;
import java.util.Timer;
@ -31,7 +32,7 @@ public class Main {
int height = Toolkit.getDefaultToolkit().getScreenSize().height;
int width = Toolkit.getDefaultToolkit().getScreenSize().width;
Random random = new Random();
Random random = new SecureRandom();
while (running) {
//if(!cursorMoveListener.isUserAway()) continue;