Debian Codegraph @

lib/Crypto/Hash/SHA512.pyi

raw symbols SCIP
1 from typing import Union, Optional
2
3 Buffer = Union[bytes, bytearray, memoryview]
4
5 class SHA512Hash(object):
6 digest_size: int
7 block_size: int
8 oid: str
9
10 def __init__(self,
11 data: Optional[Buffer],
12 truncate: Optional[str]) -> None: ...
13 def update(self, data: Buffer) -> None: ...
14 def digest(self) -> bytes: ...
15 def hexdigest(self) -> str: ...
16 def copy(self) -> SHA512Hash: ...
17 def new(self, data: Optional[Buffer] = ...) -> SHA512Hash: ...
18
19 def new(data: Optional[Buffer] = ...,
20 truncate: Optional[str] = ...) -> SHA512Hash: ...
21 digest_size: int
22 block_size: int