File: //proc/thread-self/root/lib/python3/dist-packages/nacl/__pycache__/hash.cpython-38.pyc
U
�֫[( � @ s d Z ddlmZmZmZ ddlZddlZejj Z
ejjZejj
ZejjZejjZejjZejjZejjZejjZejjZejjZejjZ ejj!Z"ejj#Z$ejj%Z&ej'j(fdd�Z)ej'j(fdd�Z*e
dddej'j(fd d
�Z+e+Z,dej'j(fdd�Z-e-Z.dej'j(fd
d�Z/dS )z�
The :mod:`nacl.hash` module exposes one-shot interfaces
for libsodium selected hash primitives and the constants needed
for their usage.
� )�absolute_import�division�print_functionNc C s |� tj�| ��S )z�
Hashes ``message`` with SHA256.
:param message: The message to hash.
:type message: bytes
:param encoder: A class that is able to encode the hashed message.
:returns: The hashed message.
:rtype: bytes
)�encode�nacl�bindingsZcrypto_hash_sha256��message�encoder� r �+/usr/lib/python3/dist-packages/nacl/hash.py�sha256<