OXIESEC PANEL
- Current Dir:
/
/
snap
/
certbot
/
4737
/
lib
/
python3.12
/
site-packages
/
cryptography
/
hazmat
/
primitives
/
kdf
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/12/2025 06:19:48 PM
rwxr-xr-x
📄
__init__.py
750 bytes
06/12/2025 06:19:38 PM
rw-r--r--
📁
__pycache__
-
06/12/2025 06:19:48 PM
rwxr-xr-x
📄
argon2.py
460 bytes
06/12/2025 06:19:38 PM
rw-r--r--
📄
concatkdf.py
3.6 KB
06/12/2025 06:19:38 PM
rw-r--r--
📄
hkdf.py
2.94 KB
06/12/2025 06:19:38 PM
rw-r--r--
📄
kbkdf.py
8.93 KB
06/12/2025 06:19:38 PM
rw-r--r--
📄
pbkdf2.py
1.9 KB
06/12/2025 06:19:38 PM
rw-r--r--
📄
scrypt.py
590 bytes
06/12/2025 06:19:38 PM
rw-r--r--
📄
x963kdf.py
1.95 KB
06/12/2025 06:19:38 PM
rw-r--r--
Editing: __init__.py
Close
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import annotations import abc class KeyDerivationFunction(metaclass=abc.ABCMeta): @abc.abstractmethod def derive(self, key_material: bytes) -> bytes: """ Deterministically generates and returns a new key based on the existing key material. """ @abc.abstractmethod def verify(self, key_material: bytes, expected_key: bytes) -> None: """ Checks whether the key generated by the key material matches the expected derived key. Raises an exception if they do not match. """