Hacked By AnonymousFox
�
�Q�f� � � � d Z g d�ZddlZddlmZ ddlmZ e� Zej Z ej Z
d� ZdZdd�Z
dd �Zdd
�Zy)z�Generate cryptographically strong pseudo-random numbers suitable for
managing secrets such as account authentication, tokens, and similar.
See PEP 506 for more information.
https://peps.python.org/pep-0506/
)�choice� randbelow�randbits�SystemRandom�token_bytes� token_hex�
token_urlsafe�compare_digest� N)r )r c �L � | dk rt d� �t j | � S )z(Return a random int in the range [0, n).r
zUpper bound must be positive.)�
ValueError�_sysrand�
_randbelow)�exclusive_upper_bounds �./opt/alt/python312/lib64/python3.12/secrets.pyr r s( � ���!��8�9�9����4�5�5� � c �<