docs: def encrypt(self, serialized):
          """
          Encrypts the serialized message using Fernet
  
          :param serialized: the serialized object to encrypt
          :type serialized: bytes
          :returns: an encrypted bytes returned by Fernet
          """
  
          fernet = Fernet(self.encryption_cipher_key)
          return fernet.encrypt(serialized)