A thicc wall of cryptography - that stands between your messages and the world.
This project is a secure message application, designed to prioritize your privacy! It is built using SvelteKit and Supabase. The unique features of this application make sure that the messages are always encrypted and hashed to ensure security and confidentiality.
- Create a new secure message
- View an existing secure message (only if you possess the correct password)
- Delete an existing secure message (only if you possess the correct password)
To setup this project, ensure you have Node.js and npm installed.
Clone the repository:
git clone https://github.com/prpcodes/crypthi.cc.git
Navigate into the project folder:
cd crypthi.cc
Install dependencies:
npm install
Create a .env file at the root of your project and fill it with your Supabase URL and anonymous key:
SUPABASE_URL=
SUPABASE_ANON_KEY=
Run the project:
npm run dev
Navigate to / in your browser. Enter your message and a password, then click "Encrypt Message". The encrypted message will be stored on the server, and you'll be given a unique ID for the message.
Navigate to /message-id in your browser. Replace message-id with the ID of the message you want to view. Enter the password to and click "Decrypt Message".
You can only delete a message if you know the password. To delete a message, you would first navigate to the message /message-id, decrypt the message and hit "Delete Message".
This application ensures the security of your messages in two ways:
Message encryption: The messages are encrypted on the client side using AES-256 encryption before being stored on the server. This means that even if someone were to gain unauthorized access to the server, they would not be able to read your messages without the password.
Password hashing: The passwords are hashed using bcrypt before being stored on the server. This means that even if someone were to gain unauthorized access to the server, they would not be able to figure out your password.
Contributions are welcome! Please submit a pull request with any improvements.
This project is licensed under the MIT License.
π‘ NOTE: Always remember, no security measure is 100% foolproof. Therefore, please use this application responsibly and do not rely on it for extremely sensitive information.