Secure messenging system written in C++