aboutsummaryrefslogblamecommitdiff
path: root/frozen_deps/Cryptodome/Hash/SHA224.pyi
blob: 613a7f9a7e18820627de467014e332804ee72498 (plain) (tree)


















                                                                  
from typing import Union, Optional

Buffer = Union[bytes, bytearray, memoryview]

class SHA224Hash(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) -> SHA224Hash: ...
    def new(self, data: Optional[Buffer] = ...) -> SHA224Hash: ...

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