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 details)
File details
Details for the file pyE2EE-5.0.4.tar.gz
.
File metadata
- Download URL: pyE2EE-5.0.4.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e47b0bcc6da5584851a93b9cd6def57938449fd7b3d2c8b6c1d3e81bd2e98509 |
|
MD5 | 0e7b987ada166ab12bcf0818cd07077a |
|
BLAKE2b-256 | c92933af4df013a29025908b437abad6d42c1fdb8c05eddf498e4e12d05f1988 |