Repository URL to install this package:
|
Version:
1:7.26.0-1 ▾
|
datadog-agent
/
opt
/
datadog-agent
/
embedded
/
lib
/
python3.8
/
site-packages
/
Cryptodome
/
IO
/
_PBES.pyi
|
|---|
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: ...