![]() ![]() Then, when the user enters his password, I want to encrypt it: def encrypt(text):Ĭrypted = Client_Public_Key.encrypt(text,32) When my PC receive these informations from the Raspberry, i construct the Public Key on the client: from Crypto.Hash import MD5 Then I get n and e parameters of this RSAKey which correspond at the Public Key to send them to my PC client. RSAKey = RSA.generate(1024,alea.get_bytes) So on my raspberry I do this to generate a RSA key: from Crypto.Hash import MD5 ![]() I will just post the RSA parts of my code, so if you need more informations or others parts of my program, please tell me. I need the PC client to send encrypted password to the raspberry serv. ![]() Hello i'm currently programming an application in python using Pyzmq for the communication between a PC client and a raspberry server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |