{"id":22108626,"url":"https://github.com/dotdot0/crypto","last_synced_at":"2025-03-24T03:43:05.931Z","repository":{"id":263013322,"uuid":"868258478","full_name":"dotdot0/crypto","owner":"dotdot0","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-17T18:38:18.000Z","size":10441,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T09:48:53.553Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crypto-zeta-dun.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotdot0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-05T22:20:09.000Z","updated_at":"2024-12-17T18:38:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"f02b5349-1b8f-4b4c-8421-daa699828921","html_url":"https://github.com/dotdot0/crypto","commit_stats":null,"previous_names":["dotdot0/crypto"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotdot0%2Fcrypto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotdot0%2Fcrypto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotdot0%2Fcrypto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotdot0%2Fcrypto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotdot0","download_url":"https://codeload.github.com/dotdot0/crypto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245206459,"owners_count":20577578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-01T09:16:53.097Z","updated_at":"2025-03-24T03:43:05.906Z","avatar_url":"https://github.com/dotdot0.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VeriDoc\n\n## Team Members:\u003cbr\u003e\n\n1.Satyam Rathor(22bec042)\u003cbr\u003e\n\n2.Aditya Roushan(22bec003)\u003cbr\u003e\n\n3.Pratush Rai(22bec035)\u003cbr\u003e\n\n4.Ansh Goyal(22bcs014)\u003cbr\u003e\n\n\n## Introduction\n\n**VeriDoc** is a secure, scalable document verification system designed to verify the integrity of files using advanced cryptographic algorithms. It employs digital signatures, SHA-256, and RSA algorithms to ensure data authenticity and integrity. \n\n- **Backend**: Built with Python for cryptographic operations and API management.  \n- **Frontend**: Developed using Next.js with Tailwind CSS and Redux Toolkit for state management.  \n- **Storage and Authentication**: Utilizes Firebase for file storage and user authentication.  \n- **Deployment**: Docker ensures seamless scalability and deployment.\n\n---\n\n## Tech Stack\n\n- **Frontend**:  \n  - Next.js  \n  - Tailwind CSS  \n  - Redux Toolkit  \n  - Firebase Authentication  \n\n- **Backend**:  \n  - Python  \n\n- **Cryptography**:  \n  - SHA-256 (Hashing)  \n  - RSA (Key Generation \u0026 Digital Signatures)  \n\n- **Storage**:  \n  - Firebase  \n\n- **Containerization**:  \n  - Docker  \n\n---\n\n## Features\n\n### **Core Features**\n- **Secure File Upload**: Users can upload files securely to Firebase.  \n- **Cryptographic Verification**: Ensures document integrity using SHA-256 hashing and RSA-based digital signatures.  \n- **File Integrity Check**: Compares uploaded files to detect any alterations.  \n- **File Reference and Comparison**: Allows users to upload a new file and compare it against previously stored versions.  \n- **User Authentication**: Secure login and registration via Firebase Authentication.  \n\n### **Cryptographic Operations**\n- **Signing**: Creates a digital signature for the provided message.  \n- **Hashing**: Generates a SHA-256 hash of the data.  \n- **Verification**: Validates data integrity using the hash and digital signature.  \n\n### **Deployment**  \n- **Dockerized Deployment**: Streamlined deployment and enhanced scalability using Docker.\n\n---\n\n## API Endpoints\n\n- **POST `/api/extract-text-from-pdf`**  \n  Extracts text from a PDF file.\n\n- **POST `/api/sign`**  \n  Signs a message. Takes an input message and returns:  \n  - Message  \n  - Message Hash  \n  - Public Key  \n  - Digital Signature  \n\n- **POST `/api/verify`**  \n  Verifies the integrity of a message by comparing its hash with the digital signature.  \n  - Returns: `true` if valid, otherwise `false`.  \n\n- **POST `/api/hash`**  \n  Hashes the provided data using SHA-256 and returns the hash value.\n\n---\n\n## Source Code\n\nAccess the source code on GitHub:  \n[VeriDoc Repository](https://github.com/dotdot0/crypto)\n\n## Live Demo\n\nTry it live:  \n[VeriDoc Live Application](https://crypto-zeta-dun.vercel.app/)\n\n---\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotdot0%2Fcrypto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotdot0%2Fcrypto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotdot0%2Fcrypto/lists"}