MD2.pyi 492 B

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