
     hs                        d Z ddlmZ  ede       ddlmZ ddlmZmZm	Z	   eddd	      e      Z  eddd
	      e      Z  eddd	      e	      Z	ddl
Z
 e
j                  d      j                  Z eddd	      dd       Zy)zt
passlib.utils.des - DEPRECATED LOCATION, WILL BE REMOVED IN 2.0

This has been moved to :mod:`passlib.crypto.des`.
    )warnzthe 'passlib.utils.des' module has been relocated to 'passlib.crypto.des' as of passlib 1.7, and the old location will be removed in passlib 2.0)deprecated_function)expand_des_keydes_encrypt_blockdes_encrypt_int_blockz1.7z1.8z!passlib.crypto.des.expand_des_key)
deprecatedremovedreplacementz$passlib.crypto.des.des_encrypt_blockz(passlib.crypto.des.des_encrypt_int_blockNz>Qz1.6z*passlib.crypto.des.des_encrypt_int_block()c                     t        | t              r't        |       dk(  rt        |       } t	        |       d   } t        | |||      S )N   r   )
isinstancebyteslenr   _unpack_uint64r   )keyinputsaltroundss       S/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/passlib/utils/des.pymdes_encrypt_int_blockr   #   sC     #us8q= %CS!!$ eT6::    )r      )__doc__warningsr   DeprecationWarningpasslib.utils.decorr   passlib.crypto.desr   r   r   structStructunpackr   r    r   r   <module>r"      s      N 4 W W5$u355CE8'5%688IK <+ue:<<QS  t$++u!MO;O;r   