+
    i
                         R t ^ RIHt ]! R]4       ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
Ht . R
OtRt]P                  tRR ltR	# )a  passlib.win32 - MS Windows support - DEPRECATED, WILL BE REMOVED IN 1.8

the LMHASH and NTHASH algorithms are used in various windows related contexts,
but generally not in a manner compatible with how passlib is structured.

in particular, they have no identifying marks, both being
32 bytes of binary data. thus, they can't be easily identified
in a context with other hashes, so a CryptHandler hasn't been defined for them.

this module provided two functions to aid in any use-cases which exist.

.. warning::

    these functions should not be used for new code unless an existing
    system requires them, they are both known broken,
    and are beyond insecure on their own.

.. autofunction:: raw_lmhash
.. autofunction:: raw_nthash

See also :mod:`passlib.hash.nthash`.
)warnzthe 'passlib.win32' module is deprecated, and will be removed in passlib 1.8; please use the 'passlib.hash.nthash' and 'passlib.hash.lmhash' classes instead.)hexlify)unicode)des_encrypt_block)nthashs   KGS!@#$%c                h   \        V \        4      '       d   V P                  V4      p V P                  4       R,          R^\	        V 4      ,
          ,          ,           p\        VR,          \        4      \        VR,          \        4      ,           pV'       d   \        V4      P                  R4      # T# )z]encode password using des-based LMHASH algorithm; returns string of raw bytes, or unicode hex:N   N    :N   N:r
   NNascii)	
isinstancer   encodeupperlenr   LM_MAGICr   decode)secretencodinghexnsouts   &&&  K/var/www/html/photoedit/myenv/lib/python3.14/site-packages/passlib/win32.py
raw_lmhashr   5   s~     &'""x(		w"S[.9	9B
BrFH
-0A"R&(0S
SC+.73<w'7C7    N)r   r   
raw_nthash)r   F)__doc__warningsr   DeprecationWarningbinasciir   passlib.utils.compatr   passlib.crypto.desr   passlib.hashr   __all__r   r   r    r   r   <module>r$      sO   .   .   ) 0  
8r   