SHA3_256.pyi 624 B

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