Secure Chat Client in Python