HEX
Server: Apache
System: Linux iad1-shared-b8-33 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: samfetchero1 (10301780)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/nacl/bindings/__pycache__/crypto_hash.cpython-310.pyc
o

��a�@s�UddlmZddlmZmZddlmZe��Z	e
ed<e��Z
e
ed<e��Ze
ed<dedefd	d
�Zdedefdd�Zdedefd
d�ZdS)�)�
exceptions)�ffi�lib)�ensure�crypto_hash_BYTES�crypto_hash_sha256_BYTES�crypto_hash_sha512_BYTES�message�returncC�Ft�dt�}t�||t|��}t|dkdtjd�t�	|t�dd�S�zb
    Hashes and returns the message ``message``.

    :param message: bytes
    :rtype: bytes
    zunsigned char[]rzUnexpected library error)�raisingN)
r�newrr�crypto_hash�lenr�exc�RuntimeError�buffer�r	�digest�rc�r�;/usr/lib/python3/dist-packages/nacl/bindings/crypto_hash.pyr�rcCrr)
rrrr�crypto_hash_sha256rrrrrrrrrr(rrcCrr)
rrrr�crypto_hash_sha512rrrrrrrrrr5rrN)�naclrr�nacl._sodiumrr�nacl.exceptionsr�crypto_hash_sha512_bytesr�int�__annotations__�crypto_hash_sha256_bytesrr�bytesrrrrrrr�<module>s