Shadow Secret is a secure, encrypted text-sharing tool designed to ensure that your secrets remain confidential during conversations. With advanced encryption and customizable message expiration, it provides a reliable way to share sensitive information securely.
- AES-256 Encryption: Messages are encrypted using strong AES-256 encryption for top-level security.
- User-Provided Password Protection: Users provide a password to encrypt and decrypt messages, ensuring only authorized access.
- Message Expiration: Set expiration times for messages to auto-delete after a specified duration.
- Secure Storage: Messages are stored securely using the Crypto module for encryption and an expiration mechanism for timely deletion.
- Next.js: Fast and efficient server-side rendering and static site generation.
- TypeScript: Ensures type safety and enhanced code quality.
- MongoDB: Database for secure storage of encrypted messages.
- Prisma: ORM for seamless database interaction.
- Crypto Module: Implements AES-256 encryption for message security.
Ensure you have the following installed:
- Node.js
- npm or yarn
-
Clone the repository:
git clone https://github.com/ShreyashPG/Shadow-Secret.git cd shadowsecret -
Install dependencies:
npm install # or yarn install -
Configure Environment Variables:
Create a.envfile and add the following variables:DATABASE_URL=<your-mongodb-connection-string> NODE_ENV=development BASE_URL=http://localhost:3000
-
Run the development server:
npm run dev # or yarn dev -
Access the app at http://localhost:3000.
- Enter your message.
- Provide a password to encrypt the message.
- Set an expiration time (e.g., 10 minutes, 1 hour, 1 day).
- Share the generated link securely.
- The recipient enters the provided password to decrypt the message.
Shadow Secret: Share secrets, securely. 🔒