Spaces:
Running
Running
from typing import Dict, Optional, Callable | |
class PbesError(ValueError): | |
... | |
class PBES1(object): | |
def decrypt(data: bytes, passphrase: bytes) -> bytes: ... | |
class PBES2(object): | |
def encrypt(data: bytes, | |
passphrase: bytes, | |
protection: str, | |
prot_params: Optional[Dict] = ..., | |
randfunc: Optional[Callable[[int],bytes]] = ...) -> bytes: ... | |
def decrypt(data:bytes, passphrase: bytes) -> bytes: ... | |