File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/java_websocket/drafts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2929import java .nio .ByteBuffer ;
3030import java .security .MessageDigest ;
3131import java .security .NoSuchAlgorithmException ;
32+ import java .security .SecureRandom ;
3233import java .text .SimpleDateFormat ;
3334import java .util .ArrayList ;
3435import java .util .Calendar ;
3536import java .util .Collections ;
3637import java .util .LinkedList ;
3738import java .util .List ;
3839import java .util .Locale ;
39- import java .util .Random ;
4040import java .util .TimeZone ;
4141import org .java_websocket .WebSocketImpl ;
4242import org .java_websocket .enums .CloseHandshakeType ;
@@ -150,7 +150,7 @@ public class Draft_6455 extends Draft {
150150 /**
151151 * Attribute for the reusable random instance
152152 */
153- private final Random reuseableRandom = new Random ();
153+ private final SecureRandom reuseableRandom = new SecureRandom ();
154154
155155 /**
156156 * Attribute for the maximum allowed size of a frame
You can’t perform that action at this time.
0 commit comments