Uncategorized

how to encrypt correspondence in python flask to create a chat so that wireshark cannot read the correspondence



I have a python flask project, this is a chat with password login and otp key with a specific user-agent. I want to add password and message encryption to my chat using rsa.
my chat code is currently uploaded to repl.it here is the link to the code https://replit.com/@fhruihifheirbvc/chat
The problem is that I can’t add encryption to my code, i just don’t really understand how to do it.
I want to make sure that the traffic cannot be viewed through wireshark. I know that https can be used, but if the traffic is decrypted, them all messages will be visible.

At first I tried to add encryption myself, but there was no message sending, then I started trying to make requests using chatgpt, but the same problem I do not know what to do. unfortunately, I cannot provide my own code with an attempt to do encryption



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *