hanze/muizenval

server/utilities.py in master
Repositories | Summary | Log | Files

utilities.py (123B) download


1from random import choice
2
3
4def generate_token(chars: str, size: int):
5	return ''.join(choice(chars) for _ in range(size))