관리-도구
편집 파일: TupleHash256.cpython-311.pyc
� O�Dg^ � �$ � d dl mZ d dlmZ d� ZdS )� )� cSHAKE256)� TupleHashc � � | � dd� � }| � dd� � }d||fvrt d� � �d||fk rd}|�|dk rt d� � �n|dk s|dz rt d � � �|dz }| � d d� � }| rt dt | � � z � � �t |t |� � S ) a� Create a new TupleHash256 object. Args: digest_bytes (integer): Optional. The size of the digest, in bytes. Default is 64. Minimum is 8. digest_bits (integer): Optional and alternative to ``digest_bytes``. The size of the digest, in bits (and in steps of 8). Default is 512. Minimum is 64. custom (bytes): Optional. A customization bytestring (``S`` in SP 800-185). :Return: A :class:`TupleHash` object �digest_bytesN�digest_bitsz*Only one digest parameter must be provided)NN�@ � z!'digest_bytes' must be at least 8z0'digest_bytes' must be at least 64 in steps of 8�custom� zUnknown parameters: )�pop� TypeError� ValueError�strr r )�kwargsr r r s �z/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib64/python3.11/site-packages/Crypto/Hash/TupleHash256.py�newr # s � �$ �:�:�n�d�3�3�L��*�*�]�D�1�1�K��L�+�.�.�.��D�E�E�E���k�2�2�2������!����@�A�A�A� � ����{�Q���� -� .� .� .�"�a�'�� �Z�Z��#� &� &�F� � >��.��V���<�=�=�=��V�Y��5�5�5r N)� r �TupleHash128r r � r r �<module>r sD ��>