Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Coooolfan/onlyboxes
/ generate_hash_key
Function
generate_hash_key
scripts/install.py:182–183 ·
view source on GitHub ↗
(length: int = 64)
Source
from the content-addressed store, hash-verified
180
181
182
def
generate_hash_key(length: int = 64) -> str:
183
return
secrets.token_hex(length)
184
185
186
def
sanitize_version(tag: str) -> str:
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected