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 / __init__.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/cryptography/cryptography/hazmat/primitives/kdf/__init__.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/cryptography/cryptography/hazmat/primitives/kdf/__init__.pyi
new file mode 100644 (file)
index 0000000..549ca91
--- /dev/null
@@ -0,0 +1,7 @@
+from abc import ABCMeta, abstractmethod
+
+class KeyDerivationFunction(metaclass=ABCMeta):
+    @abstractmethod
+    def derive(self, key_material: bytes) -> bytes: ...
+    @abstractmethod
+    def verify(self, key_material: bytes, expected_key: bytes) -> None: ...