blob: 4d8d30df390796a0e561a0214dd0687450c75474 (
plain) (
blame)
1
2
3
4
5
6
|
from typing import Optional
__all__ = [ 'pad', 'unpad' ]
def pad(data_to_pad: bytes, block_size: int, style: Optional[str]='pkcs7') -> bytes: ...
def unpad(padded_data: bytes, block_size: int, style: Optional[str]='pkcs7') -> bytes: ...
|