From d7cc314ffe8088923c1ba66b224ebd329c3642a3 Mon Sep 17 00:00:00 2001 From: Lachezar <31971186+Todorov-Lachezar@users.noreply.github.com> Date: Tue, 9 Nov 2021 14:36:03 -0500 Subject: [PATCH] Delete alice.py --- src/py-cli/websock/alice.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 src/py-cli/websock/alice.py diff --git a/src/py-cli/websock/alice.py b/src/py-cli/websock/alice.py deleted file mode 100755 index bad5596..0000000 --- a/src/py-cli/websock/alice.py +++ /dev/null @@ -1,22 +0,0 @@ -""" -!/usr/bin/env python - -https://pypi.org/project/websockets/ - -@author Lachezar Todorov -""" - -import asyncio -import encrypt_decrypt - -from websockets import connect - -class Alice(): - async def messageEncrypt(uri, publicKey, message): - encryptedMessage = encrypt_decrypt.encrypt_decrypt.encryption(message, publicKey) - async with connect(uri) as websocket: - await websocket.send(encryptedMessage) - #message = await websocket.recv() - #print(message) - - #asyncio.run(hello("ws://localhost:8765")) \ No newline at end of file