Edit File: crypt.cpython-311.opt-2.pyc
� �����fI��������������� ������������ �d�dl�Z �d�dlZn*#�e$�r"�ej��������dk����r�ed��������������ed�������������w�xY�wd�dlZd�dlZd�dl Z d�dl mZ�d�dl mZ��e j��������ed��������������ej��������ej��������z���d z���Z�e��������������Z�G�d ��d�edd������������������������Zd$dd �d�Zd$d�Zg�Zdd �d�Z�edddd��������������edddd�������������dD�]#Z�eddez���dd�ee������������z���d� ������������r�n�$�edddd ��������������ed!dd"d#�������������[[dS�)%�����N�win32z,The crypt module is not supported on Windowsz;The required _crypt module was not built as part of CPython)�SystemRandom)� namedtuple)����� ���)�removez./c�������������������������e�Zd�Z �d��ZdS�)�_Methodc������������������6�����d����������������������|�j��������������������S�)Nz<crypt.METHOD_{}>)�format�name)�selfs��� �,/opt/alt/python311/lib64/python3.11/crypt.py�__repr__z_Method.__repr__ ���s������"�)�)�$�)�4�4�4�����N)�__name__� __module__�__qualname__r�����r���r���r ���r ������s(��������������(�5��5��5��5��5r���r ���z name ident salt_chars total_size��roundsc��������������������� �|�� t�����������d���������}�|�1t����������|t����������������������st����������|j��������j����������d��������������|�j��������sd}nd|�j����������d�}|�j��������rs|�j��������d���������dk����rb|�d}nSt�������������������������������|dz ��������������}|d|z��k����rt����������d�������������d |cxk����rd k����sn�t����������d�������������||d�d�z ��}nG|�j��������d v�r*|�'d|cxk����rdk����sn�t����������d�������������|d|��d�z ��}n|�t����������|���d��������������|d� ��������������������d��t����������|�j��������������������D���������������������������z ��}|S�)Nr���z+ object cannot be interpreted as an integer���$�2��������zrounds must be a power of 2��������z%rounds out of the range 2**4 to 2**31�02d)�5�6i���i�ɚ;z+rounds out of the range 1000 to 999_999_999zrounds=z$ doesn't support the rounds argumentc��������������3����T���K����|�]#}t��������������������������������t����������������������V����$d�S��N)�_sr�choice� _saltchars)�.0�chars��� r���� <genexpr>zmksalt.<locals>.<genexpr>F���s.����������M�M�D����J�'�'�M�M�M�M�M�Mr���)�methods� isinstance�int� TypeError� __class__r����ident� bit_length� ValueError�join�range� salt_chars)�methodr����s� log_roundss��� r����mksaltr9���$���s������� ��~����� ��*�V�S�"9�"9���6�+�4��5��5��5��6��6�� 6��<�� ����������� �|��J���Q��3�.�.��>��J�J�����q��1�1�J���j��(�(� �!>�?�?�?�� �(�(�(�(�b�(�(�(�(� �!H�I�I�I� � � !� !� !� !�!��� ��� #� #����6�0�0�0�0�[�0�0�0�0� �!N�O�O�O� �$�6�$�$�$�$�A�� � ��F�H�H�H�I�I�I�����M�M�E�&�:K�4L�4L�M�M�M� M� M�M�A��Hr���c������������������z����� �|�t����������|t����������������������rt����������|������������}t����������j��������|�|������������S�r$���)r,���r ���r9����_crypt�crypt)�word�salts��� r���r<���r<���J���s9���������|�z�$��0�0�|��d�|�|���<��d�#�#�#r���c���������������������t����������|�g|�R���}|t������������������������d|�z���<���t����������||�������������}d�} �t����������d|������������}nC#�t����������$�r6}|j��������t ����������j��������t ����������j��������t ����������j��������hv�rY�d�}~dS���d�}~ww�xY�w|r4t����������|������������|j ��������k����rt�������������������������������|�������������dS�dS�)N�METHOD_r���r���FT) r ����globalsr9���r<����OSError�errno�EINVAL�EPERM�ENOSYS�len� total_sizer+����append)r ���r����argsr6���r>����result�es��� r����_add_methodrM���\���s������� �T� !�D� !� !� !�F�"(�G�I�I�i�$����&��(�(�(�D� �F���r�4��������������7�u�|�U�[�%�,�?�?�?��5�5�5�5�5� ����� ���� ����#�f�+�+��!2�2�2����v�����t��5s����A�� B�*B�B�B�SHA512r"��������j����SHA256r!����?���)�b�y�ar����BLOWFISHr��������;����MD5�1�����"����CRYPT����r���r$���)�sys�_sysr;����ModuleNotFoundError�platform�ImportErrorrC����string�_string�warnings�randomr���� _SystemRandom�collectionsr����_namedtuple�_deprecatedr���� ascii_letters�digitsr'���r%���r ���r9���r<���r+���rM����_vrG���r���r���r����<module>ro������s.�����K���������Y��M�M�M�M����Y��Y��Y��}�����k�H�I�I�I��k�W�X�X�X� Y����� ������������������0��0��0��0��0��0��1��1��1��1��1��1������X�g��.��.��.��.��� "�W�^� 3�d� :� ��m�o�o��5��5��5��5��5�k�k�)�%G�H�H��5��5��5�# �$��# ��# ��# ��# ��# �L$��$��$��$� � ��$(�����������"���H�c�2�s��#��#��#����H�c�2�r��"��"��"�������B��{�:�s�R�x��R�#�#�b�'�'�\�$�G�G�G��� ������E�3��2����������G�T�1�b��!��!��!����s������'3