D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
imunify360
/
venv
/
lib64
/
python3.11
/
site-packages
/
Crypto
/
IO
/
Filename :
_PBES.pyi
back
Copy
from typing import Dict, Optional, Callable class PbesError(ValueError): ... class PBES1(object): @staticmethod def decrypt(data: bytes, passphrase: bytes) -> bytes: ... class PBES2(object): @staticmethod def encrypt(data: bytes, passphrase: bytes, protection: str, prot_params: Optional[Dict] = ..., randfunc: Optional[Callable[[int],bytes]] = ...) -> bytes: ... @staticmethod def decrypt(data:bytes, passphrase: bytes) -> bytes: ...