aboutsummaryrefslogblamecommitdiff
path: root/frozen_deps/Cryptodome/Hash/RIPEMD160.pyi
blob: b61947377ec25fa7ffb8601bacd18a80bf398a97 (plain) (tree)


















                                                           
from typing import Union

Buffer = Union[bytes, bytearray, memoryview]

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

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

def new(data: Buffer = ...) -> RIPEMD160Hash: ...
digest_size: int
block_size: int