def _initialize_session():<EOL>
sys_random = random.SystemRandom()<EOL>_thread_local_storage.secret_key = b'<STR_LIT>'.join(<EOL>int2byte(sys_random.randint(<NUM_LIT:0>, <NUM_LIT:255>))<EOL>for _ in range(SECRET_KEY_BITS // <NUM_LIT:8>))<EOL>
Generate a new session key and store it to thread local storage.