Original Post
Hello, I am trying to implement a way to encrypt my packets. Could you please tell me if the AES method is fast and short please ? Is Blowfish better, faster ? After that, I would like to know how to generate a random AES encryption key in C++, because I would like the server sends a random key to the player once that one has just connected. Maybe I'm wrong, but can the AES key have any string length ? If it's too hard to generate a random key, is it safe to store a unique key somewhere in the program ? I'm afraid that we can find it by disassembling if I store it in ASCII. Thanks. [Edited by - Linaxys on April 20, 2009 12:35:12 PM]