관리-도구
편집 파일: test_rfc1751.cpython-311.pyc
� O�Dg� � � � d Z ddlZddlZddlmZ ddlT g d�Z G d� dej � � Z G d� d ej � � Z i fd �Z edk r ej � � dS dS )z$Id$� N)�RFC1751)�*))�EB33F77EE73D4053zTIDE ITCH SLOW REIN RULE MOT)� CCAC2AED591056BE4F90FD441C534766z8RASH BUSH MILK LOOK BAD BRIM AVID GAFF BAIT ROT POD LOVE)� EFF81F9BFBC65350920CDD7416DE8009z7TROD MUTE TAIL WARM CHAR KONG HAAG CITY BORE O TEAL AWLc � � e Zd Zd� ZdS )�RFC1751Test_k2ec � � t D ]N\ }}t j t |� � � � }| � t j |� � |� � �OdS )z Check converting keys to EnglishN)� test_data�binascii�a2b_hex�b�assertEqualr �key_to_english��self�key�wordss ��/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib64/python3.11/site-packages/Crypto/SelfTest/Protocol/test_rfc1751.py�runTestzRFC1751Test_k2e.runTest* s] � �#� A� A�J�C��� ��3���(�(�C����W�3�C�8�8�%�@�@�@�@� A� A� N��__name__� __module__�__qualname__r � r r r r ( �( � � � � � �A� A� A� A� Ar r c � � e Zd Zd� ZdS )�RFC1751Test_e2kc � � t D ]N\ }}t j t |� � � � }| � t j |� � |� � �OdS )z(Check converting English strings to keysN)r r r r r r �english_to_keyr s r r zRFC1751Test_e2k.runTest2 s] � �#� A� A�J�C��� ��3���(�(�C����W�3�E�:�:�C�@�@�@�@� A� Ar Nr r r r r r 0 r r r c �: � t � � t � � gS )N)r r )�configs r � get_testsr$ : s � �����0�0�1�1r �__main__) �__revision__r �unittest�Crypto.Utilr �Crypto.Util.py3compatr �TestCaser r r$ r �mainr r r �<module>r, s� ��4 �� ���� ���� � � � � � � #� #� #� #� � � � �A� A� A� A� A�x�(� A� A� A�A� A� A� A� A�x�(� A� A� A� � 2� 2� 2� 2� �z����H�M�O�O�O�O�O� �r