HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
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