Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Syncplay/syncplay
/ generate_server_salt
Method
generate_server_salt
syncplay/utils.py:554–558 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
552
553
@staticmethod
554
def
generate_server_salt():
555
parts = (
556
RandomStringGenerator._get_random_letters(10),
557
)
558
return
"{}"
.format(*parts)
559
560
@staticmethod
561
def
_get_random_letters(quantity):
Callers
1
__init__
Method · 0.80
Calls
1
_get_random_letters
Method · 0.80
Tested by
no test coverage detected