MCPcopy Create free account
hub / github.com/Coooolfan/onlyboxes / generate_password

Function generate_password

scripts/install.py:177–179  ·  view source on GitHub ↗
(length: int = 24)

Source from the content-addressed store, hash-verified

175
176
177def generate_password(length: int = 24) -> str:
178 alphabet = string.ascii_letters + string.digits
179 return "".join(secrets.choice(alphabet) for _ in range(length))
180
181
182def generate_hash_key(length: int = 64) -> str:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected