massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / cryptography / cryptography / hazmat / primitives / kdf / pbkdf2.pyi
1 from cryptography.hazmat.backends.interfaces import PBKDF2HMACBackend
2 from cryptography.hazmat.primitives.hashes import HashAlgorithm
3 from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
4
5 class PBKDF2HMAC(KeyDerivationFunction):
6     def __init__(
7         self, algorithm: HashAlgorithm, length: int, salt: bytes, iterations: int, backend: PBKDF2HMACBackend | None = ...
8     ): ...
9     def derive(self, key_material: bytes) -> bytes: ...
10     def verify(self, key_material: bytes, expected_key: bytes) -> None: ...