Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Frontrooms/3.0-GC
/ createSessionKey
Method
createSessionKey
src/main/java/emu/grasscutter/utils/Crypto.java:59–63 ·
view source on GitHub ↗
(int length)
Source
from the content-addressed store, hash-verified
57
}
58
59
public
static
byte[] createSessionKey(
int
length) {
60
byte[] bytes =
new
byte[length];
61
secureRandom.nextBytes(bytes);
62
return
bytes;
63
}
64
}
Callers
2
generateSessionKey
Method · 0.95
generateLoginToken
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected