| Server IP : 172.67.134.116 / Your IP : 216.73.216.214 Web Server : Apache System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : nobi37te ( 1003) PHP Version : 8.2.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/passlib/utils/__pycache__/ |
Upload File : |
a
f�Wc� � @ s� d Z ddlmZ ddlZe�e�ZddlmZ ddl m
Z
ddlmZ ddl
mZmZmZmZmZ g d�Zdd lmZ ed
e� e
dded
d�e�Zi adZdd� Zddd�Zddd�ZdS )z�passlib.pbkdf2 - PBKDF2 support
this module is getting increasingly poorly named.
maybe rename to "kdf" since it's getting more key derivation functions added.
� )�divisionN)�ExpectedTypeError)�deprecated_function)�native_string_types)�norm_hash_name�lookup_hash�pbkdf1�pbkdf2_hmac�compile_hmac)r �get_prfr �pbkdf2)�warnz�the module 'passlib.utils.pbkdf2' is deprecated as of Passlib 1.7, and will be removed in Passlib 2.0, please use 'passlib.crypto' insteadz1.7z1.8z$passlib.crypto.digest.norm_hash_name)Z
deprecatedZremovedZfunc_moduleZreplacement)Zhmac_zhmac-c s� | t v rt | S t| t�r^| �t�s2td| f ��t| dd� �j� � fdd�}||jj f}n,t
| �r~t| dd��}| |f}nt| dd ��|t | <