Ë
    zñ�j+
  ã                   ó"  — U d dl mZ d dlmZmZ d dl mZ  eej                  «      Z	 ej                  «       Zeed<    ej                  «       Zeed<   d Zd Ze	r" ej$                  «       Z ej&                  «       Zdededefd	„Zdededefd
„Zy)é    N)ÚffiÚlib)ÚensureÚBYTESÚKEYBYTESÚdataÚkeyÚreturnc                 ób  — t        |«      t        k7  r(t        j                  dj	                  t        «      «      ‚t        j                  dt        «      }t        j                  || t        | «      |«      }t        |dk(  t        j                  ¬«       t        j                  |t        «      dd S )zÙCompute a fast, cryptographic quality, keyed hash of the input data

    :param data:
    :type data: bytes
    :param key: len(key) must be equal to
                :py:data:`.KEYBYTES` (16)
    :type key: bytes
    ú#Key length must be exactly {} bytesúunsigned char[]r   ©ÚraisingN)Úlenr   ÚexcÚ
ValueErrorÚformatr   Únewr   r   Úcrypto_shorthash_siphash24r   ÚRuntimeErrorÚbuffer©r   r	   ÚdigestÚrcs       ú_/var/www/api.ozpay.ru/ozpay/venv/lib/python3.12/site-packages/nacl/bindings/crypto_shorthash.pyr   r   $   s†   € ô ˆ3ƒx”8ÒÜ�n‰nØ1×8Ñ8¼ÓBó
ð 	
ô �W‰WÐ&¬Ó.€FÜ	×	'Ñ	'¨°´c¸$³iÀÓ	E€Bä
ˆ2�‰7œC×,Ñ,Õ-Ü�:‰:�fœeÓ$¡QÐ'Ð'ó    c                 ó¢  — t        t        dt        j                  ¬«       t	        |«      t
        k7  r(t        j                  dj                  t
        «      «      ‚t        j                  dt        «      }t        j                  || t	        | «      |«      }t        |dk(  t        j                  ¬«       t        j                  |t        «      dd S )aC  Compute a fast, cryptographic quality, keyed hash of the input data

    :param data:
    :type data: bytes
    :param key: len(key) must be equal to
                :py:data:`.XKEYBYTES` (16)
    :type key: bytes
    :raises nacl.exceptions.UnavailableError: If called when using a
        minimal build of libsodium.
    zNot available in minimal buildr   r   r   r   N)r   Úhas_crypto_shorthash_siphashx24r   ÚUnavailableErrorr   Ú	XKEYBYTESr   r   r   r   ÚXBYTESr   Úcrypto_shorthash_siphashx24r   r   r   s       r   r"   r"   8   sŸ   € ô Ü'Ø(Ü×$Ñ$õô ˆ3ƒx”9ÒÜ�n‰nØ1×8Ñ8¼ÓCó
ð 	
ô �W‰WÐ&¬Ó/€FÜ	×	(Ñ	(¨°´s¸4³yÀ#Ó	F€Bä
ˆ2�‰7œC×,Ñ,Õ-Ü�:‰:�fœfÓ%¡aÐ(Ð(r   )Únacl.exceptionsÚ
exceptionsr   Únacl._sodiumr   r   r   ÚboolÚ&PYNACL_HAS_CRYPTO_SHORTHASH_SIPHASHX24r   Ú crypto_shorthash_siphash24_bytesr   ÚintÚ__annotations__Ú#crypto_shorthash_siphash24_keybytesr   r!   r    Ú!crypto_shorthash_siphashx24_bytesÚ$crypto_shorthash_siphashx24_keybytesÚbytesr   r"   © r   r   ú<module>r0      s³   ðö  ß !Ý "ñ #'Ø×.Ñ.ó#Ð ð 2ˆS×1Ñ1Ó3€€sÓ 3Ø7�×7Ñ7Ó9€ˆ#Ó 9à	
€Ø€	á"Ø2ˆS×2Ñ2Ó4€FØ8�×8Ñ8Ó:€Ið( Uð (°ð (¸5ó (ð() eð )°%ð )¸Eô )r   