scelokhoza / Digital-Shield-VPN

A VPN program to understand how internet data is protected over network
https://github.com/scelokhoza/Digital-Shield-VPN-Server
0 stars 0 forks source link

Encrypt and decrypt data #5

Open scelokhoza opened 4 months ago

scelokhoza commented 4 months ago

Description:

Implement encryption for data in transit.
Ensure that data is encrypted before sending and decrypted after receiving.

Tasks:

Use the cryptography library to encrypt and decrypt messages.
Integrate encryption into the server and client.

basic-crypto.txt

scelokhoza commented 4 months ago

Ensure your VPNClient class (vpn_client.py) is properly set up to handle encryption and data transmission as per your VPN setup. Modify the fetch_url method in VPNClient to appropriately handle the URL fetching and response decryption. Adapt the VPN server (VPNServer class) to handle requests from the Flask app and route them securely through the VPN connection.