U
    ÞM‘f  ã                   @   s<   d dgZ ddlmZ G dd„ deƒZdd „ Zdd„ ZeZd	S )
ÚnewÚget_random_bytesé    ©Úurandomc                   @   s,   e Zd Zdd„ Zdd„ Zdd„ Zdd„ Zd	S )
Ú_UrandomRNGc                 C   s   t |ƒS )z0Return a random byte string of the desired size.r   )ÚselfÚn© r	   ú>/tmp/pip-unpacked-wheel-l_0d1exj/Cryptodome/Random/__init__.pyÚread   s    z_UrandomRNG.readc                 C   s   dS ©z0Method provided for backward compatibility only.Nr	   ©r   r	   r	   r
   Úflush!   s    z_UrandomRNG.flushc                 C   s   dS r   r	   r   r	   r	   r
   Úreinit%   s    z_UrandomRNG.reinitc                 C   s   dS r   r	   r   r	   r	   r
   Úclose)   s    z_UrandomRNG.closeN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r	   r	   r	   r
   r      s   r   c                  O   s   t ƒ S )zFReturn a file-like object that outputs cryptographically random bytes.)r   )ÚargsÚkwargsr	   r	   r
   r   .   s    c                   C   s   d S )Nr	   r	   r	   r	   r
   Úatfork3   s    r   N)Ú__all__Úosr   Úobjectr   r   r   r   r	   r	   r	   r
   Ú<module>   s
   