Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewjam/saml
/ randomBytes
Function
randomBytes
util.go:24–31 ·
view source on GitHub ↗
(n int)
Source
from the content-addressed store, hash-verified
22
var
RandReader = rand.Reader
23
24
func
randomBytes(n int) []byte {
25
rv := make([]byte, n)
26
27
if
_, err := io.ReadFull(RandReader, rv); err != nil {
28
panic(err)
29
}
30
return
rv
31
}
Callers
6
MakeAssertion
Method · 0.70
MakeResponse
Method · 0.70
MakeArtifactResolveRequest
Method · 0.70
MakeAuthenticationRequest
Method · 0.70
MakeLogoutRequest
Method · 0.70
MakeLogoutResponse
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected