python encrypted chat based on auto-changing key encryption every n seconds