mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-01-24 07:20:49 +00:00
Use cryptographic RNG to generate the shard connection serial key
This commit is contained in:
@@ -14,6 +14,8 @@ namespace Rand {
|
||||
|
||||
int32_t randWeighted(const std::vector<int32_t>& weights);
|
||||
|
||||
uint64_t cryptoRand();
|
||||
|
||||
float randFloat(float startInclusive, float endExclusive);
|
||||
float randFloat(float endExclusive);
|
||||
float randFloat();
|
||||
|
||||
Reference in New Issue
Block a user