from secrets import token_bytes as _token_bytes
from base64 import urlsafe_b64encode as _urlsafe_b64encode
def gen_random_base64():
return base64.urlsafe_b64encode(secrets.token_bytes(32)).decode()