chore: refactoring RandomUtil class

now we use window.crypto.getRandomValues to generate random values.
This commit is contained in:
Shishkevich D.
2025-03-09 06:37:05 +00:00
parent 64fa0e97a3
commit cedc7f0fb8
3 changed files with 27 additions and 38 deletions

View File

@@ -927,7 +927,7 @@
expiryTime: dbInbound.expiryTime,
listen: '',
port: RandomUtil.randomIntRange(10000, 60000),
port: RandomUtil.randomInteger(10000, 60000),
protocol: baseInbound.protocol,
settings: Inbound.Settings.getSettings(baseInbound.protocol).toString(),
streamSettings: baseInbound.stream.toString(),