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 / scrypt.pyi
1 from cryptography.hazmat.backends.interfaces import ScryptBackend
2 from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
3
4 class Scrypt(KeyDerivationFunction):
5     def __init__(self, salt: bytes, length: int, n: int, r: int, p: int, backend: ScryptBackend | None = ...): ...
6     def derive(self, key_material: bytes) -> bytes: ...
7     def verify(self, key_material: bytes, expected_key: bytes) -> None: ...