Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/angular-app/angular-app
/ xsrf.js
File
xsrf.js
server/lib/xsrf.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
var
crypto = require(
'crypto'
);
2
3
function
uid(len) {
4
return
crypto.randomBytes(Math.ceil(len * 3 / 4))
Callers
nothing calls this directly
Calls
2
uid
Function · 0.85
next
Function · 0.50
Tested by
no test coverage detected