Debian Codegraph @

lib/Crypto/Hash/SHA256.pyi

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