This is the demonstration web application for custom implementation of the hash algorithms.
In terminal initialize the virtual environment
# Create
python3 -m venv /venv
# Activate
source venv/bin/activateNow install dependencies:
pip3 install -r requirements.txtuvicorn main:app --reload
# alternatively use the following command if the uvicorn is not in you path
python3 -m uvicorn main:app --reloadThere are several unit tests for each hash algorithm, to run them use the following command:
python3 static/unittests.pyIn the project root run the following command to build the docker image and then run the container with the application
docker build -t hash-app .
docker run -d -p 8000:8000 hash-appTo see and try the API see the documentation on the application url + /docs
If you ran the application locally, then it is http://127.0.0.1:8000/docs
This documentation cosists of the individual endpoints which are available for try. Also, there is a list of schemas available which represent the data structures used by the application.
For extensive user documentation see the document User_doc.pdf.
The application is deployed on the following link.