
    ¿ig                     $    d dl mZ d dlmZ d ZdS )   )	cSHAKE256)	TupleHashc                  ^   |                      dd          }|                      dd          }d||fvrt          d          d||fk    rd}||dk     rt          d          n|dk     s|dz  rt          d	          |dz  }|                      d
d          }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    )pop	TypeError
ValueErrorr   r   )kwargsr   r   r
   s       X/var/www/html/afkarena/venv/lib/python3.11/site-packages/Cryptodome/Hash/TupleHash256.pynewr   #   s    $ ::nd33L**]D11KL+...DEEEk222!@AAA  {Q - . . ."a'ZZ#&&FVY555r   N) r   TupleHash128r   r    r   r   <module>r      sD   >       # # # # # ##6 #6 #6 #6 #6r   