19 lines
605 B
Python
19 lines
605 B
Python
from typing import Union, Optional
|
|
|
|
Buffer = Union[bytes, bytearray, memoryview]
|
|
|
|
class SHA3_512_Hash(object):
|
|
digest_size: int
|
|
block_size: int
|
|
oid: str
|
|
def __init__(self, data: Optional[Buffer], update_after_digest: bool) -> None: ...
|
|
def update(self, data: Buffer) -> SHA3_512_Hash: ...
|
|
def digest(self) -> bytes: ...
|
|
def hexdigest(self) -> str: ...
|
|
def copy(self) -> SHA3_512_Hash: ...
|
|
def new(self, data: Optional[Buffer]) -> SHA3_512_Hash: ...
|
|
|
|
def new(__data: Buffer = ..., update_after_digest: bool = ...) -> SHA3_512_Hash: ...
|
|
|
|
digest_size: int
|
|
block_size: int
|