Server : Apache System : Linux dedi-14684855.grupobig.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : grupo692 ( 1004) PHP Version : 8.3.33 Disable Function : NONE Directory : /lib/python3.9/site-packages/passlib/utils/__pycache__/ |
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 | <