MCPcopy Create free account
hub / github.com/Syncplay/syncplay / generate_room_password

Method generate_room_password

syncplay/utils.py:545–551  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

543class RandomStringGenerator(object):
544 @staticmethod
545 def generate_room_password():
546 parts = (
547 RandomStringGenerator._get_random_letters(2),
548 RandomStringGenerator._get_random_numbers(3),
549 RandomStringGenerator._get_random_numbers(3)
550 )
551 return "{}-{}-{}".format(*parts)
552
553 @staticmethod
554 def generate_server_salt():

Callers 1

createControlledRoomMethod · 0.80

Calls 2

_get_random_lettersMethod · 0.80
_get_random_numbersMethod · 0.80

Tested by

no test coverage detected