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