This is a Post Quantum Cryptography
tool,
using Python framework.
Python(includes pip) has to be installed on your system in order to run this project.
- To start, clone the qujata repository:
git clone https://github.com/att/qujata.git
cd qujata/api
- Install python packages:
pip3 install -r requirements.txt
- Running the application:
python3 -m src.main
- Application is available now in:
http://localhost:3020
, curl example:
curl --location 'http://localhost:3020/qujata-api/analyze' \
--header 'Content-Type: application/json' \
--data '{
"experimentName": "name",
"description" : "test description",
"algorithms": ["kyber512"],
"iterationsCount": [5],
"messageSizes": [10]
}'
- Running unit test:
coverage run -m unittest discover -s tests
coverage html
You can see your coverage on the api/htmlcov/index.html
file.
Please make sure you have 100% coverage.