← Files AgentBrokoARCHIVED FILE

.venv/Lib/site-packages/Crypto/Random/__init__.pyi

386 Bytes · Sep 30, 2026 · 23:15 UTC

↓ Download file

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

SHA-256: 3a9548ef07a83c2f2bf7db05edb776bd788b9d9c112ea8155333242839cc27d7