§
    &xÅ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dS )é    N)ÚffiÚlib)ÚensureÚBYTESÚKEYBYTESÚdataÚkeyÚreturnc                 óˆ  — t          |¦  «        t          k    r,t          j        d                     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       úOC:\Projects\Historical\venv\Lib\site-packages\nacl/bindings/crypto_shorthash.pyr   r   $   sŸ   € õ ˆ3�x„x•8ÒÐÝŒnØ1×8Ò8½ÑBÔBñ
ô 
ð 	
õ ŒWÐ&­Ñ.Ô.€FÝ	Ô	'¨°µc¸$±i´iÀÑ	EÔ	E€Bå
ˆ2�Š7�CÔ,Ð-Ñ-Ô-Ð-ÝŒ:�f�eÑ$Ô$ Q Q QÔ'Ð'ó    c                 óÊ  — t          t          dt          j        ¬¦  «         t	          |¦  «        t
          k    r,t          j        d                     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„x•9ÒÐÝŒnØ1×8Ò8½ÑCÔCñ
ô 
ð 	
õ ŒWÐ&­Ñ/Ô/€FÝ	Ô	(¨°µs¸4±y´yÀ#Ñ	FÔ	F€Bå
ˆ2�Š7�CÔ,Ð-Ñ-Ô-Ð-ÝŒ:�f�fÑ%Ô% a a 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Ñ3Ô3€€sÐ 3Ð 3Ñ 3Ø7�Ô7Ñ9Ô9€ˆ#Ð 9Ð 9Ñ 9à	
€Ø€	à"ð ;Ø2ˆSÔ2Ñ4Ô4€FØ8�Ô8Ñ:Ô:€Ið( Uð (°ð (¸5ð (ð (ð (ð (ð() eð )°%ð )¸Eð )ð )ð )ð )ð )ð )r   