Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/ether/etherpad
/ randomString
Function
randomString
src/node/utils/randomstring.ts:7–7 ·
view source on GitHub ↗
(len: number)
Source
from the content-addressed store, hash-verified
5
import
cryptoMod from
'crypto'
;
6
7
const
randomString = (len: number) => cryptoMod.randomBytes(len).toString(
'hex'
);
8
9
export
default randomString;
Callers
6
reloadSettings
Function · 0.70
SessionManager.ts
File · 0.50
addSavedRevision
Method · 0.50
PadDeletionManager.ts
File · 0.50
getReadOnlyId
Function · 0.50
APIKeyHandler.ts
File · 0.50
Calls
1
toString
Method · 0.45
Tested by
no test coverage detected