From 3df73ec4f6b0ca50102596f680ef725a1ea6fad3 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sun, 2 Jun 2024 04:33:40 +0200 Subject: [PATCH] maybe i should make it not hang :) --- .../main/java/com/baseband/client/util/misc/SecurePRandom.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/src/main/java/com/baseband/client/util/misc/SecurePRandom.java b/Client/src/main/java/com/baseband/client/util/misc/SecurePRandom.java index 200527a..7865f10 100644 --- a/Client/src/main/java/com/baseband/client/util/misc/SecurePRandom.java +++ b/Client/src/main/java/com/baseband/client/util/misc/SecurePRandom.java @@ -44,7 +44,7 @@ public class SecurePRandom extends Random { } @Override - public synchronized void nextBytes(byte[] bytes) { + public void nextBytes(byte[] bytes) { for(int i = 0; i < bytes.length; i += 32) { System.arraycopy(nextBytes(), 0, bytes, i, Math.min(32, bytes.length)); }