
    +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dS )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                    r7t          |           dk    rt          |           } t	          |           d         } t          | |||          S )N   r   )
isinstancebyteslenr   _unpack_uint64r   )keyinputsaltroundss       U/var/www/html/e360mart/e360mart_env/lib/python3.11/site-packages/passlib/utils/des.pymdes_encrypt_int_blockr   #   sX     #u %s88q== %%CS!!!$ eT6:::    )r   r   )__doc__warningsr   DeprecationWarningpasslib.utils.decorr   passlib.crypto.desr   r   r   structStructunpackr   r    r   r   <module>r"      sr           N   4 3 3 3 3 3 W W W W W W W W W W5$$u35 5 55CE E8''5%68 8 88IK K <++ue:< < <<QS S  t$$+u!MO O O; ; ;O O; ; ;r   