o
    j                     @  s8   d dl mZ d dlZd dlmZ G dd dejdZdS )    )annotationsN)Bufferc                   @  s<   e Zd ZejdddZejdd	d
ZejdddZdS )KeyDerivationFunctionkey_materialbytesreturnc                 C     dS )zo
        Deterministically generates and returns a new key based on the existing
        key material.
        N )selfr   r	   r	   q/var/www/html/fyndo/pharma/fyndo/venv/lib/python3.10/site-packages/cryptography/hazmat/primitives/kdf/__init__.pyderive       zKeyDerivationFunction.derivebufferr   Nonec                 C  r   )z
        Deterministically generates a new key based on the existing key
        material and stores it in the provided buffer.
        Nr	   )r
   r   r   r	   r	   r   derive_into   r   z!KeyDerivationFunction.derive_intoexpected_keyc                 C  r   )z
        Checks whether the key generated by the key material matches the
        expected derived key. Raises an exception if they do not match.
        Nr	   )r
   r   r   r	   r	   r   verify   r   zKeyDerivationFunction.verifyN)r   r   r   r   )r   r   r   r   r   r   )r   r   r   r   r   r   )__name__
__module____qualname__abcabstractmethodr   r   r   r	   r	   r	   r   r      s    r   )	metaclass)
__future__r   r   cryptography.utilsr   ABCMetar   r	   r	   r	   r   <module>   s   