Island: Remove ununsed _BLOCK_SIZE variable from KeyBasedEncryptor

This commit is contained in:
Shreya Malviya 2022-07-15 12:10:14 +05:30
parent 978057b289
commit 24a119eb81
1 changed files with 0 additions and 3 deletions

View File

@ -16,9 +16,6 @@ logger = logging.getLogger(__name__)
class KeyBasedEncryptor(IEncryptor): class KeyBasedEncryptor(IEncryptor):
_BLOCK_SIZE = 32
def __init__(self, key: bytes): def __init__(self, key: bytes):
self._key = key self._key = key
self._fernet_object = Fernet(self._key) self._fernet_object = Fernet(self._key)