HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.10/__pycache__/secrets.cpython-310.opt-2.pyc
o

�i��@sr	gd�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	|dkr	td��t�|�S)Nr	zUpper bound must be positive.)�
ValueError�_sysrand�
_randbelow)Zexclusive_upper_bound�r
�$/usr/local/lib/python3.10/secrets.pyrs
r� cCs	|durt}t�|�S�N)�DEFAULT_ENTROPYr�	randbytes��nbytesr
r
rr"s	
rcCs	t�t|���d�S)N�ascii)�binasciiZhexlifyr�decoderr
r
rr0s
rcCs 	t|�}t�|��d��d�S)N�=r)r�base64Zurlsafe_b64encode�rstripr)r�tokr
r
rr=s	rr)�__all__rr�hmacr�randomrr�getrandbitsrrrrrrrr
r
r
r�<module>s