eole-lemur/funcs/lemur.py

7 lines
191 B
Python
Raw Permalink Normal View History

2020-10-21 11:58:01 +02:00
from secrets import token_bytes as _token_bytes
from base64 import urlsafe_b64encode as _urlsafe_b64encode
def gen_random_base64():
return _urlsafe_b64encode(_token_bytes(32)).decode()