| Server IP : 107.13.46.68 / Your IP : 216.73.216.232 Web Server : Apache/2.4.58 (Ubuntu) System : Linux mariOS 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.12/__pycache__/ |
Upload File : |
�
3�+g� � � � 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 �<