Padding.pyi 243 B

123456
  1. from typing import Optional
  2. __all__ = [ 'pad', 'unpad' ]
  3. def pad(data_to_pad: bytes, block_size: int, style: Optional[str]='pkcs7') -> bytes: ...
  4. def unpad(padded_data: bytes, block_size: int, style: Optional[str]='pkcs7') -> bytes: ...