Files
server/server/netwrapper.py
2021-04-23 18:13:18 +02:00

23 lines
525 B
Python

#!/usr/bin/env python3
class NetWrapper:
def __init__(self, publicKey: str, privateKey: str, cipherKey: str = ""):
self.publicKey = publicKey
self.privateKey = privateKey
self.cipherKey = cipherKey
def identifyServer(self,message: bytes):
#Message is coded with Server RSA public key in string byte format
#Create network_interface
pass
def identifyCleint(self):
pass
def sendMessage(self):
pass
def recieveMessage(self):
pass