SHA224.pyi 544 B

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