You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ORPA-pyOpenRPA/Resources/WPy64-3720/python-3.7.2.amd64/Lib/site-packages/Crypto/Random/__init__.pyi

20 lines
367 B

from typing import Any
__all__ = ['new', 'get_random_bytes']
from os import urandom
class _UrandomRNG(object):
def read(self, n: int) -> bytes:...
def flush(self) -> None: ...
def reinit(self) -> None: ...
def close(self) -> None: ...
def new(*args: Any, **kwargs: Any) -> _UrandomRNG: ...
def atfork() -> None: ...
get_random_bytes = urandom