Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.10/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.10/test/__pycache__/time_hashlib.cpython-310.pyc
o

�9j�@s.ddlZddlZddlZdd�Zdd�Zdd�Zdd	�Zejd
Zedvr:e	de�e	d
ed�e
ded�ntedkrceej�dkrcddlZe	dejd�e
dejde
eejd��nKedkr�eej�dkr�ddlZe	dejd�e
dejd�n)eee�r�ee
ee�d�r�e
ee�Ze
dee
ee��ne	de�e
de�ze�Wn&ey�e
�e
d�e
d�e
d�e
d�e
d �e
d!�e
��we�ed"d#d$�ed%d&d$�ed'd(d$�ed)d*d$�ed+d,d$�ed-d.d$�ed/d0d$�ee�jd1d$�ed2d3d$�dS)4�NcCstd��)Nzeek, creatorFunc not overridden)�RuntimeError�rr�(/usr/lib/python3.10/test/time_hashlib.py�creatorFunc	src	Csfd|d}d|}t}t��}t|�D]}||���}qt��}td||d|dt|�d|�dS)N�ٞ��Z�%2.2f�seconds�x�bytes)r�time�perf_counter�range�digest�print�len)	�scale�name�
iterations�longStr�localCF�start�fr�endrrr�test_scaled_msgs$rcCs<t��}td�D]}t�}qt��}td||dd�dS)N� Nr	r
z[20000 creations])r
rrrr)rr�drrrr�test_creates
rcCs@t��}td�D]}t���}qt��}td||dd�dS)Nrr	r
z[20000 "" digests])r
rrrrr)rrrrrrr�	test_zero s
r�)�_md5�_shazimport zcreatorFunc = z.newztesting speed of oldzlegacy interface�_hashlib�zcreatorFunc = _hashlib.%s�ztesting speed of _hashlib.%sz+creatorFunc = lambda x=_hashlib.new : x(%r)z!testing speed of _hashlib.new(%r)�__call__ztesting speed of hashlib.z*creatorFunc = lambda x=hashlib.new : x(%r)z testing speed of hashlib.new(%r)z8pass argument(s) naming the hash to run a speed test on:z6 '_md5' and '_sha' test the legacy builtin md5 and shaz= '_hashlib' 'openssl_hName' 'fast' tests the builtin _hashlibz6 '_hashlib' 'hName' tests builtin _hashlib.new(shaFOO)z> 'hName' tests the hashlib.hName() implementation if it existsz.         otherwise it uses hashlib.new(hName).rz[huge data])rri|)z[large data]i&z
[medium data]i�z[4*small data]iPz[3*small data]��z[2*small data]�jz[small data]z[digest_size data]�
z[tiny data])�sysr
�hashlibrrrr�argv�hName�execrrr#�getattr�hasattr�
ValueError�digest_sizerrrr�<module>s`

"

�

Youez - 2016 - github.com/yon3zu
LinuXploit