Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

aroundthecode / pycryptodome   python

Repository URL to install this package:

Version: 3.7.2 

/ Random / __init__.pyi

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