![]() Then, it generates a 256bit AES key by pulling 32 bytes from the kernel’s urandom source. The generate keys function is generates an RSA keypair using the M2Crypto RSA key generation function. _callback ) # Generate the AES key and IV 1ĭef generateKeys ( self, bits = 2048 ): # Generate the keypair (65537 as the public exponent) First, the crypto functions that encrypt and decrypt data between the server and client with AES. The project is pretty straightforward right now, but let’s look at the a few components. That is, it has a basic Curses UI with asynchronous chat and, of course, everything is encrypted. ![]() As of the time of this writing, the project is at its first milestone. It’s a simple Python application that allows for AES encrypted chat for people that don’t know anything about crypto. Rather, I wanted a simple server that I ran and sent a friend a simple binary that would ask the hostname of my server and we could chat securely.Įnter my new project, Cryptully. ![]() I wanted to be able to perform basic chat with someone that doesn’t know anything about cryptography and do it without having both people connect to a server. Encrypted chat with Python, M2Crypto, and NCursesĪ couple of weeks ago I realized that there isn’t a simple way to communicate with someone over a strongly encrypted channel without going through an intermediary server when at least one of the parties is not a very technically minded person (there probably is such a such a thing, but I don’t know of it). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |