@staticmethod<EOL><INDENT>def prepare(session_data={}, <EOL>passphrase=None):<DEDENT>
if passphrase is None:<EOL><INDENT>passphrase = settings.DJAODJIN_SECRET_KEY<EOL><DEDENT>return encode(session_data, passphrase,<EOL>json_encoder=crypt.JSONEncoder)<EOL>
Returns *session_dict* as a base64 encrypted json string.