← Files AgentBrokoARCHIVED FILE

.venv/Lib/site-packages/Crypto/Hash/SHA1.pyi

555 Bytes · Oct 2, 2026 · 00:32 UTC

↓ Download file

from typing import Union, Optional

Buffer = Union[bytes, bytearray, memoryview]

class SHA1Hash(object):
    digest_size: int
    block_size: int
    oid: str

    def __init__(self, data: Optional[Buffer] = ...) -> None: ...
    def update(self, data: Buffer) -> None: ...
    def digest(self) -> bytes: ...
    def hexdigest(self) -> str: ...
    def copy(self) -> SHA1Hash: ...
    def new(self, data: Optional[Buffer] = ...) -> SHA1Hash: ...

def new(data: Optional[Buffer] = ...) -> SHA1Hash: ...
digest_size: int
block_size: int

SHA-256: 4fc9652243b1b4a443c08c6b22f5c5343c63453405a13fbe9cc9dd12de6951ea