Skip to content
/ KRY Public

KRY FIT VUT university project. HD and ECDH.

Notifications You must be signed in to change notification settings

pindo696/KRY

Repository files navigation

Assignment for KRY FIT VUT university project: DH and ECDH.

Name: Andrej Ľupták

Login: xlupta05

Description: Implementation of DH and ECDH key exchange algorithm.

Acadmic year: 2024/2025

List of submissed files:

client.py - Client side loader

server.py - Server side loader

controlFunctions.py - Helpper functions for running client/server side, communication and parsing arguments

DHexchange.py - Implementation of DH exchange algorithm

ECDHexchange.py - Implementation of ECDH exchange algorithm

properties.py - Basic script settings

ec.py - Eliptic curves arithmethic operations

Makefile

231598.pdf - Brief project documentation

README.md (this file)

Program Usage

Scripts server.py and client.py are runnable.

python3.8 [client.py|server.py] --port <PORT> [--ec]
  • client.py or server.py: To run server or client side script.
  • --port <PORT> or -p <PORT>: Specifies the port number (required).
  • --ec: Enables ECDH mode. If omitted, the DH mode is used.

Example usage:

python3.8 server.py --port 25565 --ec
python3.8 client.py --port 25565 --ec

Makefile can be also used to run with Makefile predefined port:

make server
make client 
or
make server EC=1
make client EC=1

About

KRY FIT VUT university project. HD and ECDH.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors