Current File : //lib/python2.7/site-packages/passlib/utils/des.pyc
�
�
5Xc@s�dZddlmZede�ddlmZddlmZmZm	Z	edddd	d
d�e�Zedddd	d
d�e�Zedddd	d
d
�e	�Z	ddl
Z
e
jd�jZ
edddd	d
d�ddd��ZdS(st
passlib.utils.des - DEPRECATED LOCATION, WILL BE REMOVED IN 2.0

This has been moved to :mod:`passlib.crypto.des`.
i����(twarns�the '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(tdeprecated_function(texpand_des_keytdes_encrypt_blocktdes_encrypt_int_blockt
deprecateds1.7tremoveds1.8treplacements!passlib.crypto.des.expand_des_keys$passlib.crypto.des.des_encrypt_blocks(passlib.crypto.des.des_encrypt_int_blockNs>Qs1.6s*passlib.crypto.des.des_encrypt_int_block()iicCsVt|t�rCt|�dkr0t|�}nt|�d}nt||||�S(Nii(t
isinstancetbytestlenRt_unpack_uint64R(tkeytinputtsalttrounds((s5/usr/lib/python2.7/site-packages/passlib/utils/des.pytmdes_encrypt_int_block#s
(t__doc__twarningsRtDeprecationWarningtpasslib.utils.decorRtpasslib.crypto.desRRRtstructtStructtunpackRR(((s5/usr/lib/python2.7/site-packages/passlib/utils/des.pyt<module>s