MCPcopy 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
182def generate_hash_key(length: int = 64) -> str:
183 return secrets.token_hex(length)
184
185
186def sanitize_version(tag: str) -> str:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected