INNER CODE UNIT · Python

bytes_length

tomasvotava/fastapi-sso · fastapi_sso/state.py:9

    bytes_length = int(length * 3 / 4)
    return base64.urlsafe_b64encode(os.urandom(bytes_length)).decode("utf-8")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…