def encrypt(self, serialized):
fernet = Fernet(self.encryption_cipher_key)<EOL>return fernet.encrypt(serialized)<EOL>
Encrypts the serialized message using Fernet

:param serialized: the serialized object to encrypt
:type serialized: bytes
:returns: an encrypted bytes returned by Fernet