first add files

This commit is contained in:
2023-10-08 20:59:00 +08:00
parent b494be364b
commit 1dac226337
991 changed files with 368151 additions and 40 deletions

19
lib/Crypto/IO/_PBES.pyi Normal file
View File

@@ -0,0 +1,19 @@
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: ...