
    9i                     "    S SK Jr  S SKJr  S rg)   )	cSHAKE256)	TupleHashc                  0   U R                  SS5      nU R                  SS5      nSX4;  a  [        S5      eSX4:X  a  SnUb  US:  a  [        S5      eO US:  d
  US-  (       a  [        S	5      eUS-  nU R                  S
S5      n[        U[        U5      $ )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/land-doc-ocr/venv/lib/python3.13/site-packages/Crypto/Hash/TupleHash256.pynewr   #   s    $ ::nd3L**]D1KL..DEE22!@AA  {Q - . ."a'ZZ#&FVY55r   N) r   TupleHash128r   r    r   r   <module>r      s   >  ##6r   