https://github.com/sanjay-sol/shamirs
This project aims to develop a secure vault system leveraging blockchain technology and cryptographic techniques.
https://github.com/sanjay-sol/shamirs
blockchain cryptography metamask nextjs remix
Last synced: about 1 year ago
JSON representation
This project aims to develop a secure vault system leveraging blockchain technology and cryptographic techniques.
- Host: GitHub
- URL: https://github.com/sanjay-sol/shamirs
- Owner: sanjay-sol
- Created: 2024-03-18T13:03:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-23T17:43:03.000Z (about 2 years ago)
- Last Synced: 2025-04-28T18:09:55.901Z (about 1 year ago)
- Topics: blockchain, cryptography, metamask, nextjs, remix
- Language: JavaScript
- Homepage: https://evault-nu.vercel.app
- Size: 608 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Secure Vault System on Blockchain
## Overview
This project aims to develop a secure vault system leveraging blockchain technology and cryptographic techniques. The system allows users to securely store and access their files while ensuring data integrity, confidentiality, and authenticity.
## System Architecture

## Features
- **User Authentication:** Users can log in using their MetaMask wallet address, ensuring secure access to the platform.
- **File Upload:** Users can upload files to the vault system, initiating the encryption process.
- **Encryption:** Uploaded files are encrypted using the AES-256 symmetric encryption algorithm for confidentiality.
- **Key Distribution:** The symmetric encryption key is divided using Shamir's Secret Sharing scheme and distributed to designated entities for secure storage.
- **Digital Signatures:** A signature is generated using the user's MetaMask private key to authenticate the file and its contents.
- **Access Control:** Users can specify access control settings, such as public or private, to regulate access to their files.
- **Blockchain Storage:** File metadata, including filename, size, file hash, Shamir's Secret Sharing parameters, access control settings, timestamp, user public key, and signature, are stored on the blockchain.
- **File Retrieval:** Users can retrieve the required key parts from authorized entities to reconstruct the symmetric key for decryption.
- **Data Integrity Check:** Users can verify the integrity of the file by comparing its hash stored on the blockchain with the recalculated hash.
- **Authentication:** The authenticity of the file is verified using the digital signature and the user's MetaMask public key stored on the blockchain.
## Installation
1. Clone the repository:
```
git clone https://github.com/sanjay-sol/shamirs
```
2. Install dependencies:
```
npm Install
Note: Have Metamask installed
```
## Pinata Setup
```
get pinata credentials from https://www.pinata.cloud/
API_KEY = "pwx..."
API_SECRET = "Qmcisewr34....."
```
## Usage
1. Start the application:
```
npm run dev
```
2. Access the application at http://localhost:3000 in your web browser.
## Contact
For any inquiries or feedback, please contact [email](mailto:sanjaysirangi@gmail.com).