This document provides step-by-step instructions for setting up the environment and installing the dependencies required to run the examples and tests in the Crypto Comparison Project.
Ensure that you have the following software installed on your system:
- Python 3.7 or higher
- Git
First, clone the repository to your local machine:
git clone https://github.com/dkrizhanovskyi/crypto-comparison.git
cd crypto-comparison
It's recommended to create a virtual environment to manage dependencies. Run the following commands to create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
Install the required Python packages using pip
:
pip install -r requirements.txt
The requirements.txt
file should include the following packages:
qiskit
pycryptodome
To run the example scripts, navigate to the corresponding directory and execute the script:
python classical_cryptography/algorithms/rsa_example.py
python classical_cryptography/algorithms/aes_example.py
python classical_cryptography/algorithms/ecc_example.py
python quantum_cryptography/protocols/qkd_example.py
python quantum_cryptography/protocols/bb84_example.py
python quantum_cryptography/protocols/grover_example.py
python quantum_cryptography/protocols/quantum_teleportation_example.py
python quantum_cryptography/protocols/quantum_encryption_example.py
python quantum_cryptography/protocols/quantum_superposition_entanglement_example.py
To run the tests, use the following command:
python -m unittest discover
This command will discover and run all test cases in the repository.
If you encounter any issues during installation or setup, please open an issue on GitHub.
This project is licensed under the MIT License. See the LICENSE file for details.