SHA256.pyi 630 B

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