Uname: Linux dedi-15171674.espacofacial.com.br 5.14.0-687.48.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Sep 16 12:22:07 EDT 2026 x86_64
Software: Apache
PHP version: 8.2.33 [ PHP INFO ] PHP os: Linux
Server Ip: 172.67.154.186
Your Ip: 216.73.216.19
User: espa7358 (1004) | Group: espa7358 (1003)
Safe Mode: OFF
Disable Function:
NONE

name : hashing.cpython-39.pyc
a

�)gX�@s�ddlmZmZmZeZddlZddlmZzddlm	Z
WneyRdZ
Yn0ddlm
Z
ddlmZefdd�Zefd	d
�ZeZeZdd�Zd
d�Z	dS)�)�absolute_import�division�print_functionN)�sha1)�md5)�AnsibleError)�to_bytescCs$|�}t|dd�}|�|�|��S)z* Return a secure hash hex digest of data. �surrogate_or_strict��errors)r�update�	hexdigest)�data�	hash_func�digest�r�9/usr/lib/python3.9/site-packages/ansible/utils/hashing.py�
secure_hash_s$s
rc
Cs�tj�t|dd��r(tj�t|dd��r,dS|�}d}zBtt|dd�d�}|�|�}|rn|�|�|�|�}qT|��Wn4t	y�}zt
d||f��WYd}~n
d}~00|��S)z\ Return a secure hash hex digest of local file, None if file is not present or a directory. r	r
�strictNi�rbz0error while accessing the file %s, error was: %s)�os�path�existsr�isdir�open�readr�close�IOErrorrr
)�filenamerr�	blocksizeZinfile�block�errr�secure_hash-s(

&r"cCststd��t|t�S�Nz1MD5 not available.  Possibly running in FIPS mode)�_md5�
ValueErrorr)rrrr�md5sPsr&cCststd��t|t�Sr#)r$r%r")rrrrrVsr)Z
__future__rrr�typeZ
__metaclass__rZhashlibrrr$�ImportErrorZansible.errorsrZansible.module_utils._textrrr"ZchecksumZ
checksum_sr&rrrr�<module>s
	
© 2026 UnknownSec