Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.11 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.11 KB

Anti_tamper

This app is to make contract between two parties using cryptographic algorithms

so you can create the contract then both the parties sign the contract using jws and secret key used is encrypted by AES and at the time of signing we will decrypt it using a key which is there in .env file. Now signature is created after that we will hash the contract . Now there is verification function in which it will verify the contracts of both the parties and compare the hash of both the parties If it is equal then we will verify the contract.All the data stored in mongodb and all the sensitive information is hashed or encrypted properly.

TECH STACK

    FASTAPI
    MONGODB

ALGORITHM USED

    • AES --> to encrypt user password
      HS256 --> It is used in digital signature
      SHA256 --> Used to create hash for the contract
  • HOW TO RUN

      Clone the repo
      cd backend
      venv env
      source env/Scripts/activate (if using bash)
      uvicorn main:app --reload
      go to http://localhost:8000/docs