Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CDSecLab/MJXT
/ randomSeed
Method
randomSeed
src/main/java/utils/Hash.java:23–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
}
22
23
public
static
long randomSeed() {
24
return
random.nextLong();
25
}
26
27
/**
28
* Shrink the hash to a value 0..n. Kind of like modulo, but using
Callers
2
Xor8
Method · 0.95
Bloom
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected