aboutsummaryrefslogblamecommitdiff
path: root/frozen_deps/Cryptodome/Hash/SHA384.pyi
blob: c2aab9e08c8e31410590aa47d567c707a297a321 (plain) (tree)


















                                                                  
from typing import Union, Optional

Buffer = Union[bytes, bytearray, memoryview]

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

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