1 from hmac import compare_digest as compare_digest
2 from random import SystemRandom as SystemRandom
3 from typing import Sequence, TypeVar
7 def randbelow(exclusive_upper_bound: int) -> int: ...
8 def randbits(k: int) -> int: ...
9 def choice(seq: Sequence[_T]) -> _T: ...
10 def token_bytes(nbytes: int | None = ...) -> bytes: ...
11 def token_hex(nbytes: int | None = ...) -> str: ...
12 def token_urlsafe(nbytes: int | None = ...) -> str: ...