Skip to content

Python project to make anti tampering document/contract between two parties

Notifications You must be signed in to change notification settings

adityadev11/Anti_tamper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

    About

    Python project to make anti tampering document/contract between two parties

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages