Replace SecureRandom with Random

This commit is contained in:
Kavin 2023-08-03 23:00:02 +01:00
parent 5492343b8e
commit 25082d78b0
No known key found for this signature in database
GPG Key ID: 6E4598CA5C92C41F
1 changed files with 1 additions and 2 deletions

View File

@ -55,7 +55,6 @@ import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.security.SecureRandom;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.time.ZoneOffset;
@ -234,7 +233,7 @@ public final class YoutubeParsingHelper {
*/
private static final String IOS_DEVICE_MODEL = "iPhone14,5";
private static Random numberGenerator = new SecureRandom();
private static Random numberGenerator = new Random();
private static final String FEED_BASE_CHANNEL_ID =
"https://www.youtube.com/feeds/videos.xml?channel_id=";