Convert any text to a fernet key for encryption.

def any_text_to_fernet_key(self, text):
        """
        Convert any text to a fernet key for encryption.
        """
        md5 = fingerprint.fingerprint.of_text(text)
        fernet_key = base64.b64encode(md5.encode("utf-8"))
        return fernet_key