HEX
Server: Apache/2.4.65 (Unix) OpenSSL/1.1.1k
System: Linux vps109042.inmotionhosting.com 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: cisa (1010)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //opt/imh-python/lib/python3.9/__pycache__/secrets.cpython-39.opt-2.pyc
a

_�h��@spgd�ZddlZddlZddlmZddlmZe�ZejZ	ej
Z
dd�ZdZddd	�Z
dd
d�Zddd
�ZdS))�choice�	randbelow�randbits�SystemRandom�token_bytes�	token_hex�
token_urlsafe�compare_digest�N)r)rcCs|dkrtd��t�|�S)Nr	zUpper bound must be positive.)�
ValueError�_sysrand�
_randbelow)Zexclusive_upper_bound�r
�(/opt/imh-python/lib/python3.9/secrets.pyrsr� cCs|durt}t�|�S)N)�DEFAULT_ENTROPYr�	randbytes��nbytesr
r
rr"s
rcCst�t|���d�S)N�ascii)�binasciiZhexlifyr�decoderr
r
rr0srcCst|�}t�|��d��d�S)N�=r)r�base64Zurlsafe_b64encode�rstripr)r�tokr
r
rr=s
r)N)N)N)�__all__rr�hmacr�randomrr�getrandbitsrrrrrrrr
r
r
r�<module>	s