chore: refactoring RandomUtil class
now we use window.crypto.getRandomValues to generate random values.
This commit is contained in:
1 parent
64fa0e97a3
commit
cedc7f0fb8
3 files changed
+27
-38
No files matched your search
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user