https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/nacl/bindings/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/nacl/bindings/__pycache__/crypto_shorthash.cpython-310.pyc
o

��a+
�@s�UddlmZddlmZmZddlmZeej�Z	e�
�Zee
d<e��Zee
d<dZdZe	r8e��Ze��Zdededefd	d
�Zdededefdd�ZdS)
�N)�ffi�lib)�ensure�BYTES�KEYBYTES�data�key�returncCsbt|�tkrt�d�t���t�dt�}t�	||t|�|�}t
|dktjd�t�|t�dd�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�newrr�crypto_shorthash_siphash24r�RuntimeError�buffer�rr�digest�rc�r�@/usr/lib/python3/dist-packages/nacl/bindings/crypto_shorthash.pyr$s	�rcCsrttdtjd�t|�tkrt�d�t���t�	dt
�}t�||t|�|�}t|dktj
d�t�|t
�dd�S)aCCompute 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.
    zNot available in minimal buildrr
rrN)r�has_crypto_shorthash_siphashx24r�UnavailableErrorr�	XKEYBYTESrrrr�XBYTESr�crypto_shorthash_siphashx24rrrrrrr8s��r)�nacl.exceptions�
exceptionsr�nacl._sodiumrrr�bool�&PYNACL_HAS_CRYPTO_SHORTHASH_SIPHASHX24r� crypto_shorthash_siphash24_bytesr�int�__annotations__�#crypto_shorthash_siphash24_keybytesrrr�!crypto_shorthash_siphashx24_bytes�$crypto_shorthash_siphashx24_keybytes�bytesrrrrrr�<module>s�

https://t.me/RX1948 - 2025