diff --git a/monkey/monkey_island/cc/server_utils/encryption/__init__.py b/monkey/monkey_island/cc/server_utils/encryption/__init__.py index 4d9306950..7425e4caf 100644 --- a/monkey/monkey_island/cc/server_utils/encryption/__init__.py +++ b/monkey/monkey_island/cc/server_utils/encryption/__init__.py @@ -14,4 +14,3 @@ from .data_store_encryptor import ( unlock_datastore_encryptor, reset_datastore_encryptor, ) -from .field_encryptors.i_field_encryptor import IFieldEncryptor diff --git a/monkey/monkey_island/cc/server_utils/encryption/field_encryptors/__init__.py b/monkey/monkey_island/cc/server_utils/encryption/field_encryptors/__init__.py index 96c7f3f18..e69de29bb 100644 --- a/monkey/monkey_island/cc/server_utils/encryption/field_encryptors/__init__.py +++ b/monkey/monkey_island/cc/server_utils/encryption/field_encryptors/__init__.py @@ -1 +0,0 @@ -from .i_field_encryptor import IFieldEncryptor diff --git a/monkey/monkey_island/cc/server_utils/encryption/field_encryptors/i_field_encryptor.py b/monkey/monkey_island/cc/server_utils/encryption/field_encryptors/i_field_encryptor.py deleted file mode 100644 index 6a675bf4d..000000000 --- a/monkey/monkey_island/cc/server_utils/encryption/field_encryptors/i_field_encryptor.py +++ /dev/null @@ -1,24 +0,0 @@ -from abc import ABC, abstractmethod -from typing import Any - - -class IFieldEncryptor(ABC): - @staticmethod - @abstractmethod - def encrypt(value: Any) -> Any: - """Encrypts data and returns the ciphertext. - - :param value: Data that will be encrypted - :return: Ciphertext generated by encrypting value - :rtype: Any - """ - - @staticmethod - @abstractmethod - def decrypt(value: Any): - """Decrypts data and returns the plaintext. - - :param value: Ciphertext that will be decrypted - :return: Plaintext generated by decrypting value - :rtype: Any - """