diff --git a/README.md b/README.md index fced573..7aed270 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ 1. Stwórz wirtualne środowisko: `python -m venv .venv` 2. Aktywuj: `. .venv/bin/activate` 3. Pobierz zależności: `pip install -r requirements.txt' -4. Uruchom np. test wewnętrzny: `python otp.py` +4. Uruchom np. test wewnętrzny: `python ot.py` Aby wyjść ze środowiska uruchom komendę `deactivate`. diff --git a/alice.py b/alice.py index 992ffb1..cd473ab 100644 --- a/alice.py +++ b/alice.py @@ -1,7 +1,7 @@ import argparse import socket import contextlib -from otp import alice +from ot import alice from net import send, send_point, recv, recv_point def main(): diff --git a/bob.py b/bob.py index a9d2851..e16d485 100644 --- a/bob.py +++ b/bob.py @@ -1,6 +1,6 @@ import argparse import socket -from otp import bob +from ot import bob from net import send, send_point, recv, recv_point import sys diff --git a/net.py b/net.py index bfb02a1..c4d0bb9 100644 --- a/net.py +++ b/net.py @@ -2,7 +2,7 @@ import socket import pickle import struct import ecpy.curves -from otp import curve +from ot import curve def send_point(s: socket.socket, point: ecpy.curves.Point): send(s, (point.x, point.y)) diff --git a/otp.py b/ot.py similarity index 100% rename from otp.py rename to ot.py