Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /lib/python3.12/__pycache__/ |
Upload File : |
� )!�h� � � � 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 �/usr/lib/python3.12/secrets.pyr r s( � ���!��8�9�9����4�5�5� � c �<