Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinyauthapp/tinyauth
/ GenerateString
Function
GenerateString
internal/utils/security_utils.go:110–114 ·
view source on GitHub ↗
(length int)
Source
from the content-addressed store, hash-verified
108
}
109
110
func
GenerateString(length int) string {
111
src := make([]byte, length)
112
rand.Read(src)
113
return
base64.RawURLEncoding.EncodeToString(src)[:length]
114
}
Callers
4
Authorize
Method · 0.92
GenerateAccessToken
Method · 0.92
RefreshAccessToken
Method · 0.92
createOidcClientCmd
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected