End To End Encryption in Python.
Project description
pyE2EE 1.0.0
End To End Encryption in Python.
Install
pip install pyE2EE
Features
- Cross platform (i think)
- RSA and AES Encryption
- Examples provided
Usage/Examples
import pyE2EE
Server Side
def client_loop(server,cli):
pass # do stuff
server = pyE2EE.Server(port,client_loop) # client_loop will be called giving args server-obj and client
server.TotalCons # gives number of total connections
server.clients # is a list of all [client, AES-key-of-the-cli]
server.send(client,msg) # sends msg
server.recv(client) # recvs msg
server.sendall(msg) # send all connected clients
server.close(client) # close a connection
Client Side
client = pyE2EE.Client(server_ip,port)
client.send(msg) # send msg to server
client.recv() # recv msg from server
client.close() # close connection with server
License
Authors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyE2EE-5.0.4.tar.gz
(3.9 kB
view hashes)